cmd: Fix a compiler warning.

This commit is contained in:
Alexandre Julliard 2007-03-16 13:02:06 +01:00
parent 5770f3e30d
commit 7c1418ae2c
1 changed files with 1 additions and 1 deletions

View File

@ -1480,7 +1480,7 @@ static char *WCMD_expand_envvar(char *start) {
/* ~ is substring manipulation */ /* ~ is substring manipulation */
if (savedchar == '~') { if (savedchar == '~') {
int substrposition, substrlength; int substrposition, substrlength = 0;
char *commapos = strchr(colonpos+2, ','); char *commapos = strchr(colonpos+2, ',');
char *startCopy; char *startCopy;