1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-29 19:00:57 +02:00

unposted: uninitialised variable could result from 23144

This commit is contained in:
Peter Stephenson 2007-02-06 10:12:20 +00:00
parent 49437215b2
commit bae2ec88e5
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-02-06 Peter Stephenson <pws@csr.com>
* unposted: Src/Zle/complist.c: 23144 could leave an uninitialised
variable.
2007-02-05 Clint Adams <clint@zsh.org>
* 23151: Completion/Unix/Command/.distfiles,

View file

@ -3126,7 +3126,7 @@ domenuselect(Hookdef dummy, Chdata dat)
} else if ((mode == MM_FSEARCH || mode == MM_BSEARCH) &&
cmd == Th(z_backwarddeletechar)) {
int back;
int back = 1;
Cmatch **np = msearchpop(&back);
mode = (back ? MM_BSEARCH : MM_FSEARCH);