Commit 7c1418ae authored by Alexandre Julliard's avatar Alexandre Julliard

cmd: Fix a compiler warning.

parent 5770f3e3
......@@ -1480,7 +1480,7 @@ static char *WCMD_expand_envvar(char *start) {
/* ~ is substring manipulation */
if (savedchar == '~') {
int substrposition, substrlength;
int substrposition, substrlength = 0;
char *commapos = strchr(colonpos+2, ',');
char *startCopy;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment