git: rwhod(8): Fix the warning and raise WARNS back up to 6.
Sascha Wildner
swildner at crater.dragonflybsd.org
Wed Feb 11 02:18:39 PST 2015
commit 716deec4b12e68ddc5057052f3fb4a4877415c91
Author: Sascha Wildner <saw at online.de>
Date: Wed Feb 11 10:50:05 2015 +0100
rwhod(8): Fix the warning and raise WARNS back up to 6.
'next' is only initialized and referenced (in separate if()'s) when
'quiet_mode' is not set. Unfortunately gcc does not realize this and
warns about 'next' being maybe uninitialized.
Fix this by initializing 'next', with no functional change.
Summary of changes:
usr.sbin/rwhod/Makefile | 2 --
usr.sbin/rwhod/rwhod.c | 3 +--
2 files changed, 1 insertion(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/716deec4b12e68ddc5057052f3fb4a4877415c91
--
DragonFly BSD source repository
More information about the Commits
mailing list