Fix a bunch more compile warnings

This commit is contained in:
dP
2024-02-19 17:56:28 +05:30
parent f5f570b574
commit a853d1a379
19 changed files with 61 additions and 71 deletions

View File

@@ -1000,7 +1000,7 @@ struct GameOptionsWindow : Window {
}
}
static EventState GameOptionsWindowGlobalHotkeys(int hotkey) {
static EventState GameOptionsWindowGlobalHotkeys([[maybe_unused]] int hotkey) {
if (!ToggleFullScreen(!_fullscreen)) {
ShowErrorMessage(STR_ERROR_FULLSCREEN_FAILED, INVALID_STRING_ID, WL_ERROR);
}