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:
parent
63e7d1d920
commit
ed1195ba58
1 changed files with 2 additions and 1 deletions
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue