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...

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Computer science / computer arithmetic / Arénaire project at LIP, ENS-Lyon

Reply via email to