diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-01-28 11:12:08 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-01-28 11:12:46 -0500 |
commit | bcfbb81b8b3fe6a1d59c2097b4741bd4aae344e4 (patch) | |
tree | 934e14e610e35bc1feecaf2be86d7e3ef23b71a8 /Makefile | |
parent | cbb898e0c4103b9707c8abb9ebf4866a0353c0f9 (diff) | |
download | bfs-bcfbb81b8b3fe6a1d59c2097b4741bd4aae344e4.tar.xz |
Enable -Wshadow by default
And fix the one case it warns on.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ INSTALL ?= install MKDIR ?= mkdir -p RM ?= rm -f -DEFAULT_CFLAGS ?= -g -Wall -Wmissing-declarations -Wstrict-prototypes -Wsign-compare +DEFAULT_CFLAGS ?= -g -Wall -Wmissing-declarations -Wshadow -Wsign-compare -Wstrict-prototypes CFLAGS ?= $(DEFAULT_CFLAGS) LDFLAGS ?= |