Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2002 15:31:47 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        David Malone <dwmalone@maths.tcd.ie>, Daniel Eischen <deischen@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/syslogd syslogd.c
Message-ID:  <p05101009b86258963659@[128.113.24.47]>
In-Reply-To: <20020109185225.A23551@walton.maths.tcd.ie>
References:  <200201091736.g09HarQ62030@freefall.freebsd.org> <20020109185225.A23551@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
At 6:52 PM +0000 1/9/02, David Malone wrote:
>On Wed, Jan 09, 2002, Daniel Eischen wrote:
>  >   Initialze a stack variable with NULL to unbreak buildworld with -Wall.
>>    I don't know about anyone else, but the compiler was always aborting
>>    on this stupid warning, and has been doing so for weeks.
>
>Are you sure this is needed any more? I think I fixed the order of
>the warning flags to prevent the compiler whining a few days ago.
>(Also, I think you must have had local changes to the tree to
>provoke this 'cos I've been building world without problems.)

Well, it doesn't *hurt* to initialize that variable, except maybe
that it breaks style(9) to initialize it in the declaration instead
of down a few lines.

-- 
Garance Alistair Drosehn            =   gad@eclipse.acs.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05101009b86258963659>