Commit b2167015 authored by Giuseppe Bilotta's avatar Giuseppe Bilotta Committed by Adam Jackson

xkb: initialize tsyms

This fixes some “Conditional jump depends on uninitialized value(s)”
errors spotted by valgrind.
Reviewed-by: 's avatarEric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: 's avatarGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
parent 2dafa1bd
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment