Disables clang warning for a not yet used color variable.

This commit is contained in:
2023-04-15 16:30:32 -07:00
parent b3bb6e4031
commit fb02bf059a

View File

@@ -4,7 +4,10 @@ namespace SBF {
// TODO: Update these if they're wrong. They should be the initial color pair. // TODO: Update these if they're wrong. They should be the initial color pair.
static uint8_t g_foregroundColor = kColorDarkWhite; static uint8_t g_foregroundColor = kColorDarkWhite;
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-variable"
static uint8_t g_backgroundColor = kColorDarkBlack; static uint8_t g_backgroundColor = kColorDarkBlack;
#pragma clang diagnostic pop
static uint16_t g_color; static uint16_t g_color;
void SetForegroundColor(uint8_t foregroundColor) { void SetForegroundColor(uint8_t foregroundColor) {