Suppressed warning 'unused-but-set-variable', which is now enabled by -Wall.

This commit is contained in:
Alan Mishchenko 2012-08-29 16:58:34 -07:00
parent 83bfe0b1fe
commit ce1ea44376
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ arch_flags : arch_flags.c
ARCHFLAGS := $(shell $(CC) arch_flags.c -o arch_flags && ./arch_flags)
OPTFLAGS := -g -O #-DABC_NAMESPACE=xxx
CFLAGS += -Wall -Wno-unused-function $(OPTFLAGS) $(ARCHFLAGS) -I$(PWD)/src
CFLAGS += -Wall -Wno-unused-function -Wno-unused-but-set-variable $(OPTFLAGS) $(ARCHFLAGS) -I$(PWD)/src
CXXFLAGS += $(CFLAGS)
#LIBS := -m32 -ldl -rdynamic -lreadline -ltermcap