about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2011-12-20 17:15:50 +0000
committerBart Schaefer <barts@users.sourceforge.net>2011-12-20 17:15:50 +0000
commit81cb361d73fc3d9700d07b8b2053ae3ae226b2be (patch)
tree8cd7f26ca23169fb09555db90157a23136b7f597 /Src
parentfceb07892429f7871381cb208c297f601273ea64 (diff)
downloadzsh-81cb361d73fc3d9700d07b8b2053ae3ae226b2be.tar.gz
zsh-81cb361d73fc3d9700d07b8b2053ae3ae226b2be.tar.xz
zsh-81cb361d73fc3d9700d07b8b2053ae3ae226b2be.zip
30033: silence valgrind warnings
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/zle_keymap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Zle/zle_keymap.c b/Src/Zle/zle_keymap.c
index a08caa069..c3731c47b 100644
--- a/Src/Zle/zle_keymap.c
+++ b/Src/Zle/zle_keymap.c
@@ -544,6 +544,7 @@ bindkey(Keymap km, char *seq, Thingy bind, char *str)
 	if(km->first[f]) {
 	    char fs[3];
 	    fs[0] = f;
+	    fs[1] = 0;
 	    metafy(fs, 1, META_NOALLOC);
 	    km->multi->addnode(km->multi, ztrdup(fs),
 		makekeynode(km->first[f], NULL));