From: Sascha Wildner Date: Tue, 25 Feb 2014 22:41:39 +0000 (+0100) Subject: Add -Winit-self to the kernel warning flags. X-Git-Tag: v3.9.0~460 X-Git-Url: https://gitweb.dragonflybsd.org/~tuxillo/dragonfly.git/commitdiff_plain/abd31f718f76ddec58e1c253079c7e5569651c5f Add -Winit-self to the kernel warning flags. --- diff --git a/sys/conf/bsd.kern.mk b/sys/conf/bsd.kern.mk index e3329ede6b..57ae10f058 100644 --- a/sys/conf/bsd.kern.mk +++ b/sys/conf/bsd.kern.mk @@ -10,7 +10,7 @@ CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ -Wold-style-definition -Wold-style-declaration -Wno-inline \ - -Wno-pointer-sign -std=c99 + -Wno-pointer-sign -Winit-self -std=c99 .if ${CCVER} == "gcc47" CWARNFLAGS+= -Wno-unused-but-set-variable