[Add] -Wunused to CFLAGS.

This commit is contained in:
Allanis 2013-07-06 15:42:38 +01:00
parent 00fbe34b62
commit b7c83b5b24

View File

@ -29,7 +29,7 @@ ifeq ($(OS),LINUX)
CFLAGS += -D_POSIX_SOURCE
endif
ifdef DEBUG
CFLAGS += -W -Wall -Wextra -Wshadow -Wpointer-arith -Wmissing-prototypes -Winline -Wcast-align \
CFLAGS += -W -Wall -Wextra -Wunused -Wshadow -Wpointer-arith -Wmissing-prototypes -Winline -Wcast-align \
-Wmissing-declarations -fstack-protector -fstack-protector-all -g3 \
-DDEBUG -DLUA_USE_APICHECK -std=c99
else