[Add] -Wunused to CFLAGS.
This commit is contained in:
parent
00fbe34b62
commit
b7c83b5b24
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user