diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-06-13 22:56:45 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2019-06-19 00:39:58 +0200 |
commit | 308824ba96b8752835e15dedf2bc0e1cd7c1ddaa (patch) | |
tree | 3f3c51eb904035a93075300b145ac995f22ebfdf /nx-X11/programs/Xserver | |
parent | 6d00a387fc138b575dfe9133d5120fa9cb6a3a45 (diff) | |
download | nx-libs-308824ba96b8752835e15dedf2bc0e1cd7c1ddaa.tar.gz nx-libs-308824ba96b8752835e15dedf2bc0e1cd7c1ddaa.tar.bz2 nx-libs-308824ba96b8752835e15dedf2bc0e1cd7c1ddaa.zip |
xkb: initialize tsyms
Backport of this commit:
commit b2167015043a458e9cf93b827b43eb5b7c552ce9
Author: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Date: Sat Nov 4 23:06:27 2017 +0100
xkb: initialize tsyms
This fixes some “Conditional jump depends on uninitialized value(s)”
errors spotted by valgrind.
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r-- | nx-X11/programs/Xserver/xkb/xkbUtils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/xkb/xkbUtils.c b/nx-X11/programs/Xserver/xkb/xkbUtils.c index 21a5ce76a..a545f06eb 100644 --- a/nx-X11/programs/Xserver/xkb/xkbUtils.c +++ b/nx-X11/programs/Xserver/xkb/xkbUtils.c @@ -187,7 +187,7 @@ XkbDescPtr xkb; unsigned key,nG,explicit; KeySymsPtr pCore; int types[XkbNumKbdGroups]; -KeySym tsyms[XkbMaxSymsPerKey],*syms; +KeySym tsyms[XkbMaxSymsPerKey] = {NoSymbol},*syms; XkbMapChangesPtr mc; xkb= pXDev->key->xkbInfo->desc; |