summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-02-06 10:12:20 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-02-06 10:12:20 +0000
commitbae2ec88e587efb6f0cc9ef8db5d3c8b6de78382 (patch)
treed945fed79a4633e29747dd67c90753e300ce544e /Src
parent49437215b2c372899f457cb16101d138cbad0760 (diff)
downloadzsh-bae2ec88e587efb6f0cc9ef8db5d3c8b6de78382.tar.gz
zsh-bae2ec88e587efb6f0cc9ef8db5d3c8b6de78382.tar.xz
zsh-bae2ec88e587efb6f0cc9ef8db5d3c8b6de78382.zip
unposted: uninitialised variable could result from 23144
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/complist.c2
1 files changed, 1 insertions, 1 deletions
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);