Enable shadow warnings, fix one case.

This commit is contained in:
Ian Gulliver
2016-02-25 21:24:10 -08:00
parent 092764bf7e
commit fe2486c398
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
CC ?= clang
CFLAGS ?= -Wall -Werror -O4 -g --std=gnu11 --pedantic-errors -fPIE -pie -fstack-protector-strong -pthread
CFLAGS ?= -Wall -Werror -Wshadow -O4 -g --std=gnu11 --pedantic-errors -fPIE -pie -fstack-protector-strong -pthread
LDFLAGS ?= $(CFLAGS) -Wl,-z,relro -Wl,-z,now
LIBS ?= -ljansson -lprotobuf-c