aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-06-22 09:17:59 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-06-22 09:17:59 +0530
commit306af787ca465eaf2b075bbc804603706f00b0fa (patch)
treecfc6bd5e461c91051c34011ae077fe976fa8149d /Makefile
parent6147dc9a85d2a54aff3d735d6a7c88d18a8b4f1d (diff)
downloadnnn-306af787ca465eaf2b075bbc804603706f00b0fa.tar.gz
Add -Wshadow to CFLAGS and fixes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1a2e6e7..5c98912 100644
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,7 @@ else
LDLIBS_CURSES ?= -lncurses
endif
-CFLAGS += -std=c11 -Wall -Wextra
+CFLAGS += -std=c11 -Wall -Wextra -Wshadow
CFLAGS += $(CFLAGS_OPTIMIZATION)
CFLAGS += $(CFLAGS_CURSES)