rwhod(8): Fix the warning and raise WARNS back up to 6.
authorSascha Wildner <saw@online.de>
Wed, 11 Feb 2015 09:50:05 +0000 (10:50 +0100)
committerSascha Wildner <saw@online.de>
Wed, 11 Feb 2015 10:09:55 +0000 (11:09 +0100)
commit716deec4b12e68ddc5057052f3fb4a4877415c91
treef5977631858e6131b52d11025c0ef6947c41c6f1
parentdb80e953a14d1c5f6cc202089cbb542e35f7add6
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.
usr.sbin/rwhod/Makefile
usr.sbin/rwhod/rwhod.c