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.
This commit is contained in:
Bruce Evans 1997-10-21 06:53:24 +00:00
parent a9a7f08317
commit 6e47de28bb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30620
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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