diff --git a/apps/misc.c b/apps/misc.c index 91be53b11c..0ab26b0831 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -933,6 +933,7 @@ int hex_to_rgb(const char* hex, int* color) bool parse_color(enum screen_type screen, char *text, int *value) { (void)text; (void)value; /* silence warnings on mono bitmap */ + (void)screen; #ifdef HAVE_LCD_COLOR if (screens[screen].depth > 2) diff --git a/tools/checkwps/checkwps.make b/tools/checkwps/checkwps.make index e84452d59e..20da68dbe3 100644 --- a/tools/checkwps/checkwps.make +++ b/tools/checkwps/checkwps.make @@ -7,7 +7,7 @@ # $Id$ # -FLAGS=-g -D__PCTOOL__ $(TARGET) -Wall -DCHECKWPS +FLAGS=-g -D__PCTOOL__ $(TARGET) -Wall SRC= $(call preprocess, $(TOOLSDIR)/checkwps/SOURCES) @@ -22,7 +22,7 @@ INCLUDES = -I$(ROOTDIR)/apps/gui \ -I$(BUILDDIR) # Makes mkdepfile happy -GCCOPTS+=-D__PCTOOL__ +GCCOPTS+=-D__PCTOOL__ -DCHECKWPS .SECONDEXPANSION: # $$(OBJ) is not populated until after this