mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
30033: silence valgrind warnings
This commit is contained in:
parent
fceb078924
commit
81cb361d73
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2011-12-20 Barton E. Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
|
* 30033: Src/Zle/zle_keymap.c: silence valgrind warnings about
|
||||||
|
uninitialized values.
|
||||||
|
|
||||||
2011-12-19 Peter Stephenson <pws@csr.com>
|
2011-12-19 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
* unposted: Config/version.mk: update version to 4.3.15-dev-0 to
|
* unposted: Config/version.mk: update version to 4.3.15-dev-0 to
|
||||||
|
@ -15776,5 +15781,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.5545 $
|
* $Revision: 1.5546 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
@ -544,6 +544,7 @@ bindkey(Keymap km, char *seq, Thingy bind, char *str)
|
||||||
if(km->first[f]) {
|
if(km->first[f]) {
|
||||||
char fs[3];
|
char fs[3];
|
||||||
fs[0] = f;
|
fs[0] = f;
|
||||||
|
fs[1] = 0;
|
||||||
metafy(fs, 1, META_NOALLOC);
|
metafy(fs, 1, META_NOALLOC);
|
||||||
km->multi->addnode(km->multi, ztrdup(fs),
|
km->multi->addnode(km->multi, ztrdup(fs),
|
||||||
makekeynode(km->first[f], NULL));
|
makekeynode(km->first[f], NULL));
|
||||||
|
|
Loading…
Reference in a new issue