Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 1997 09:30:17 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        hackers@FreeBSD.ORG, j@uriah.heep.sax.de, core@FreeBSD.ORG
Subject:   Re: Variable initialization
Message-ID:  <199705191630.JAA24310@phaeton.artisoft.com>
In-Reply-To: <199705191131.VAA13078@godzilla.zeta.org.au> from "Bruce Evans" at May 19, 97 09:31:41 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> With old compilers, it was a pessimization to initalize variables
> unnecessarily or long before they are used.  With modern compilers,
> it defeats automatic checking for uninitialized variables and may
> still prevent some optimizations.  A wrongly initialized variable
> is worse than an initialized one since it can't be checked for.

Won't an incorrect initialization become ovbious when the code
fails to function?


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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