summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/misc.c1
-rw-r--r--tools/checkwps/checkwps.make4
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 91be53b..0ab26b0 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 e84452d..20da68d 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