Skip to content

Commit

Permalink
Add -Winit-self to the kernel warning flags.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Wildner committed Feb 25, 2014
1 parent a3faafc commit abd31f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/conf/bsd.kern.mk
Expand Up @@ -10,7 +10,7 @@
CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
-Wold-style-definition -Wold-style-declaration -Wno-inline \ -Wold-style-definition -Wold-style-declaration -Wno-inline \
-Wno-pointer-sign -std=c99 -Wno-pointer-sign -Winit-self -std=c99


.if ${CCVER} == "gcc47" .if ${CCVER} == "gcc47"
CWARNFLAGS+= -Wno-unused-but-set-variable CWARNFLAGS+= -Wno-unused-but-set-variable
Expand Down

0 comments on commit abd31f7

Please sign in to comment.