mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 14:42:29 +01:00
Fix some "'var' may be used uninitialized" warnings
The one in WPrefs.app/Appearance.c is indirect: the function might be inlined and might return an uninitialized value, which causes gcc to complain that the caller might use that uninitialized return value.
This commit is contained in:
committed by
Carlos R. Mafra
parent
d9296ff9a4
commit
a06b0673d8
@@ -320,6 +320,7 @@ static void getLocalizedStringValue(char **target, const char *line, int *match_
|
||||
p = line;
|
||||
kstart = 0;
|
||||
sqbstart = 0;
|
||||
sqbend = 0;
|
||||
locale = NULL;
|
||||
|
||||
/* skip until after '=', mark if '[' and ']' is found */
|
||||
|
||||
Reference in New Issue
Block a user