Skip to content

Commit b72e177

Browse files
committed
mingw: work around overzealous compiler warning
GCC is simply not smart enough to figure out that the code that uses `save` is never reached when `save` is uninitialized. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 5bebef6 commit b72e177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

miscutils/man.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ static char **add_MANPATH(char **man_path_list, int *count_mp, char *path)
200200
char *next_path;
201201
char **path_element;
202202
#if ENABLE_PLATFORM_MINGW32
203-
char save;
203+
char save = ';';
204204

205205
next_path = (char *)next_path_sep(path);
206206
#else

0 commit comments

Comments
 (0)