diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2007-02-06 10:12:20 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-02-06 10:12:20 +0000 |
| commit | bae2ec88e587efb6f0cc9ef8db5d3c8b6de78382 (patch) | |
| tree | d945fed79a4633e29747dd67c90753e300ce544e | |
| parent | 23151: partial completion for mtn (monotone) command. (diff) | |
| download | zsh-bae2ec88e587efb6f0cc9ef8db5d3c8b6de78382.tar zsh-bae2ec88e587efb6f0cc9ef8db5d3c8b6de78382.tar.gz zsh-bae2ec88e587efb6f0cc9ef8db5d3c8b6de78382.tar.bz2 zsh-bae2ec88e587efb6f0cc9ef8db5d3c8b6de78382.tar.lz zsh-bae2ec88e587efb6f0cc9ef8db5d3c8b6de78382.tar.xz zsh-bae2ec88e587efb6f0cc9ef8db5d3c8b6de78382.tar.zst zsh-bae2ec88e587efb6f0cc9ef8db5d3c8b6de78382.zip | |
unposted: uninitialised variable could result from 23144
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | Src/Zle/complist.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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, diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index e723da0f3..f06a5e8f4 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -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); |
