From 1d0c3228b6e3ee4112e3b1e26f1cc9b7ed358401 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Wed, 3 Feb 2016 17:27:37 +0300 Subject: [PATCH] Makefile: turn on -Wno-switch It generates a lot of low value warnings and hides more important stuff. Signed-off-by: Dan Carpenter --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 66d9794c..55b057d8 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ ifeq ($(CC),"") CC = gcc endif CFLAGS = -O2 -finline-functions -fno-strict-aliasing -g -CFLAGS += -Wall -Wwrite-strings +CFLAGS += -Wall -Wwrite-strings -Wno-switch LDFLAGS += -g -lm -lsqlite3 LD = gcc AR = ar -- 2.11.4.GIT