[patch] silence uninitialised variable warnings

Paweł Sikora pluto@agmk.net
Tue Sep 11 14:08:00 GMT 2007


Manuel López-Ibáñez pisze:
> On 11/09/2007, Brian Sidebotham <micros@valvers.com> wrote:
>> Hi Guys,
>>
>> Attached is a patch to silence a lot of "var might be used uninitialised.."
>> warnings - Generally caused by a pointer to the var being passed to a function
>> that then modifies the contents of the var.
>>
> 
> Do you get those warnings with a recent GCC version ?

4.2.2-20070825 produces these warnings.
4.3.0-20070825 works fine and Brian's patch isn't needed
(at least for PR32395).



More information about the Gcc-patches mailing list