Subject: Re: Warnings in nfsv3 code--buggy gcc?
To: J.T. Conklin <email@example.com>
From: Charles M. Hannum <mycroft@MIT.EDU>
Date: 03/29/1996 16:02:04
firstname.lastname@example.org (J.T. Conklin) writes:
> -Wuninitialized is a good warning, but since it's not 100%, I don't
> recommend combining it with -Werror. Some people get around this by
> always initializing the variable to some dummy value. I think this
> is terrible practice, as it defeats the ability of run-time tools
> that track variable usage to detect uninitialized variable usage.
Worse yet, in almost all cases, if the variable is truly not
initialized, the bogus initializer is still a bug. So you haven't
actually solved any problems.