diff options
author | Bruce Evans <bde@FreeBSD.org> | 1997-10-21 06:53:24 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1997-10-21 06:53:24 +0000 |
commit | 6e47de28bb1f6eadeab11bf6b4bf6d948c0df3f7 (patch) | |
tree | 5edf0ac719254d76cc730e8952a2b91501139321 /sys/conf/kern.mk | |
parent | a9a7f0831711f68584f8ff48479b0bad0ec195c4 (diff) | |
download | src-6e47de28bb1f6eadeab11bf6b4bf6d948c0df3f7.tar.gz src-6e47de28bb1f6eadeab11bf6b4bf6d948c0df3f7.zip |
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.
Notes
Notes:
svn path=/head/; revision=30620
Diffstat (limited to 'sys/conf/kern.mk')
-rw-r--r-- | sys/conf/kern.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index 3cfe3664c8e5..c074f23bbbe9 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/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 |