summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-01-28 11:12:08 -0500
committerTavian Barnes <tavianator@tavianator.com>2021-01-28 11:12:46 -0500
commitbcfbb81b8b3fe6a1d59c2097b4741bd4aae344e4 (patch)
tree934e14e610e35bc1feecaf2be86d7e3ef23b71a8 /Makefile
parentcbb898e0c4103b9707c8abb9ebf4866a0353c0f9 (diff)
downloadbfs-bcfbb81b8b3fe6a1d59c2097b4741bd4aae344e4.tar.xz
Enable -Wshadow by default
And fix the one case it warns on.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ed793a7..5df2812 100644
--- a/Makefile
+++ b/Makefile
@@ -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 ?=