diff options
author | archie <archie@FreeBSD.org> | 1998-12-14 21:03:27 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 1998-12-14 21:03:27 +0000 |
commit | 4477d5ca2cf8c9cb5898888a1022ee49e0050d04 (patch) | |
tree | bc75024cf4b6a071e910a5cf63e414ac04684a6c /sys/conf | |
parent | 69236009111a390b847caed6dd8ac8024730c273 (diff) | |
download | FreeBSD-src-4477d5ca2cf8c9cb5898888a1022ee49e0050d04.zip FreeBSD-src-4477d5ca2cf8c9cb5898888a1022ee49e0050d04.tar.gz |
Add -Wunused to kernel build flags.
Reviewed by: cvs-committers@freebsd.org
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/kern.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index 003beaf..7f423b8 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -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. |