On Thu, Mar 30, 2000 at 02:48:53PM +0200, Vincent Lefevre wrote:
> On Thu, Mar 30, 2000 at 11:52:02 +0100, Edmund GRIMLEY EVANS wrote:
> [snip]
> > -  time_t t;
> > +  time_t t = 0; /* to avoid compiler warning */
> >  
> > -  /* 
> > -   * gcc thinks it has to warn about uninitialized use
> > -   * of t.  This is wrong.
> > -   */
> > -  
> 
> I disagree. You shouldn't prevent warnings like this. If gcc thinks
> that the variable is uninitialized, it should be fixed, and you
> shouldn't add unnecessary code, that makes it bigger...

? That's what he did !
He added: time_t t = 0; /* to avoid compiler warning */
And removed: The comment in /* */

-- 
Ralf Hildebrandt <[EMAIL PROTECTED]> www.stahl.bau.tu-bs.de/~hildeb
NT vs UNIX, why UNIX:   It doesn't matter how big or hot your 
thing is at the moment if it doesn't stay up or perform.

PGP signature

Reply via email to