1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-30 05:40:58 +01:00

Fixed the use of an uninitialized 'x' in spckword() if shout is NULL.

This commit is contained in:
Wayne Davison 2007-10-31 06:22:57 +00:00
parent 63e7d1d920
commit ed1195ba58

View file

@ -2310,7 +2310,8 @@ spckword(char **s, int hist, int cmd, int ask)
fflush(shout);
zbeep();
x = getquery("nyae \t", 0);
}
} else
x = 'n';
} else
x = 'y';
if (x == 'y' || x == ' ' || x == '\t') {