mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-03 16:20:11 +01:00
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>
This commit is contained in:
parent
2dafa1bdaf
commit
b216701504
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ XkbUpdateKeyTypesFromCore(DeviceIntPtr pXDev,
|
|||
XkbDescPtr xkb;
|
||||
unsigned key, nG, explicit;
|
||||
int types[XkbNumKbdGroups];
|
||||
KeySym tsyms[XkbMaxSymsPerKey], *syms;
|
||||
KeySym tsyms[XkbMaxSymsPerKey] = {NoSymbol}, *syms;
|
||||
XkbMapChangesPtr mc;
|
||||
|
||||
xkb = pXDev->key->xkbInfo->desc;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue