From bcfbb81b8b3fe6a1d59c2097b4741bd4aae344e4 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 28 Jan 2021 11:12:08 -0500 Subject: Enable -Wshadow by default And fix the one case it warns on. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 ?= -- cgit v1.2.3