From 4004e38e8b0ac9cee680d84bf99a6f947fe10e5f Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 21 Oct 1997 06:53:24 +0000 Subject: 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. --- share/mk/bsd.kern.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'share/mk/bsd.kern.mk') 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 -- cgit v1.1