cmd: Fix a compiler warning.

This commit is contained in:
Alexandre Julliard 2007-03-16 13:02:06 +01:00
parent 5770f3e30d
commit 7c1418ae2c

View file

@ -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;