summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-04-04 10:47:06 +0000
committerru <ru@FreeBSD.org>2003-04-04 10:47:06 +0000
commitdb5ec15123daf122ff48a5939b9b1a3d3a32abbf (patch)
tree8a88e74eae7076d13b5675ff77750f386cbb06aa /share/mk
parent71a96a384850965d63f2fed4b75e4f76368177bf (diff)
downloadFreeBSD-src-db5ec15123daf122ff48a5939b9b1a3d3a32abbf.zip
FreeBSD-src-db5ec15123daf122ff48a5939b9b1a3d3a32abbf.tar.gz
-Wall implies -Wuninitialized if -O is also in effect.
-Wuninitialized does not work without -O. This fixes the ${WARNS} > 4 compilations with -O0. Spotted by: marcel
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.sys.mk3
1 files changed, 0 insertions, 3 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk
index 0d55b19..f1bc89e 100644
--- a/share/mk/bsd.sys.mk
+++ b/share/mk/bsd.sys.mk
@@ -25,9 +25,6 @@ CFLAGS += -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
. if ${WARNS} > 3
CFLAGS += -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align
. endif
-. if ${WARNS} > 4
-CFLAGS += -Wuninitialized
-. endif
# BDECFLAGS
. if ${WARNS} > 5
CFLAGS += -ansi -pedantic -Wbad-function-cast -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
OpenPOWER on IntegriCloud