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
+2 -2
View File
@@ -618,12 +618,12 @@ static bool CanChangeTimetableMode(int32_t &)
// CM
#include "statusbar_gui.h"
static void cm_v_RedrawStatusBar(int32 new_value) {
static void cm_v_RedrawStatusBar([[maybe_unused]] int32 new_value) {
// TODO is this function even needed?
CM_RedrawStatusBar();
}
static void cm_v_RedrawGraphs(int32 new_value) {
static void cm_v_RedrawGraphs([[maybe_unused]] int32 new_value) {
InvalidateWindowData(WC_INCOME_GRAPH, 0);
InvalidateWindowData(WC_OPERATING_PROFIT, 0);
InvalidateWindowData(WC_DELIVERED_CARGO, 0);