Le sam 16/10/2004 à 09:11, Gerald Pfeifer a écrit :
[snip]
> 
>    libraries.c:261: warning: `mode' might be used uninitialized in this function
>    libraries.c:264: warning: `str' might be used uninitialized in this function
> 
> (which are the only ones of this kind for a full Wine build).

Depends on which gcc version you use, because here (3.2) I don't have
them.

The mode warning is somewhat safe (there's an assert if it's not set).

The str warning is in the same boat (there's also an assert if it's not
set).

It could be argued that it'd be good practice to initialize them
regardless.

Vincent



Reply via email to