Add -Wunused to kernel build flags.

Reviewed by:	cvs-committers@freebsd.org
This commit is contained in:
archie 1998-12-14 21:03:27 +00:00
parent 6923600911
commit 4477d5ca2c
2 changed files with 6 additions and 6 deletions

View File

@ -1,15 +1,15 @@
# $Id: bsd.kern.mk,v 1.9 1998/05/01 18:13:37 bde Exp $
# $Id: bsd.kern.mk,v 1.10 1998/09/09 10:04:58 bde 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 -Winline -Wuninitialized -Wformat \
-Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused \
-fformat-extensions -ansi
#
# The following flags are next up for working on:
# -W -Wunused -Wcast-qual -Wall
# -W -Wcast-qual -Wall
#
# When working on removing warnings from code, the `-Werror' flag should be
# of material assistance.

View File

@ -1,15 +1,15 @@
# $Id: bsd.kern.mk,v 1.9 1998/05/01 18:13:37 bde Exp $
# $Id: bsd.kern.mk,v 1.10 1998/09/09 10:04:58 bde 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 -Winline -Wuninitialized -Wformat \
-Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused \
-fformat-extensions -ansi
#
# The following flags are next up for working on:
# -W -Wunused -Wcast-qual -Wall
# -W -Wcast-qual -Wall
#
# When working on removing warnings from code, the `-Werror' flag should be
# of material assistance.