diff options
author | bde <bde@FreeBSD.org> | 1997-10-21 06:53:24 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-10-21 06:53:24 +0000 |
commit | 4004e38e8b0ac9cee680d84bf99a6f947fe10e5f (patch) | |
tree | 3f9b6e2e03b7ffb5d99bbdb57f7e9a850bcb41d7 /share | |
parent | 868b6abbca3ae8837ad72e211bfbceb794c6f5fa (diff) | |
download | FreeBSD-src-4004e38e8b0ac9cee680d84bf99a6f947fe10e5f.zip FreeBSD-src-4004e38e8b0ac9cee680d84bf99a6f947fe10e5f.tar.gz |
Added -Wuninitialized to CWARNFLAGS. Warnings about uninitialialized
variables were lost when we removed -W, and 23 new ones including at
least one serious one have crept in for LINT.
Restored -Winline to CFLAGS. This gives only 3 old warnings and 1 new
for LINT.
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.kern.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/share/mk/bsd.kern.mk b/share/mk/bsd.kern.mk index 3cfe366..c074f23 100644 --- a/share/mk/bsd.kern.mk +++ b/share/mk/bsd.kern.mk @@ -1,11 +1,12 @@ -# $Id$ +# $Id: bsd.kern.mk,v 1.5 1997/02/22 13:56:10 peter Exp $ # # Warning flags for compiling the kernel and components of the kernel. # CWARNFLAGS?= -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ - -Wpointer-arith # -W -Winline -Wunused -Wcast-qual + -Wpointer-arith -Winline -Wuninitialized # -W -Wunused \ + -Wcast-qual # # The following flags are next up for working on: # -Wformat -Wall |