BIOS/GUI: Mark Qt only variables as maybe unused

This commit is contained in:
refractionpcsx2 2022-04-15 23:13:27 +01:00 committed by lightningterror
parent 66101f8628
commit 5a77790859
1 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,8 @@ struct BiosDebugInformation
u32 threadListAddr; u32 threadListAddr;
}; };
static const char* BiosZoneStrings[] { // The following two arrays are used for Qt
[[maybe_unused]] static const char* BiosZoneStrings[] {
"T10K", "T10K",
"Test", "Test",
"Japan", "Japan",
@ -40,7 +41,7 @@ static const char* BiosZoneStrings[] {
nullptr nullptr
}; };
static const char* BiosZoneBytes[] [[maybe_unused]] static const char* BiosZoneBytes[]
{ {
"T", "X", "J", "A", "E", "H", "P", "C", nullptr "T", "X", "J", "A", "E", "H", "P", "C", nullptr
}; };