programs/winecfg/libraries.c warnings regressions
vberon at mecano.gme.usherb.ca
Sat Oct 16 11:31:49 CDT 2004
Le sam 16/10/2004 à 09:11, Gerald Pfeifer a écrit :
> 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
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
It could be argued that it'd be good practice to initialize them
More information about the wine-devel