summaryrefslogtreecommitdiff
path: root/xserver/xkb/xkb.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/xkb/xkb.c')
-rw-r--r--xserver/xkb/xkb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xserver/xkb/xkb.c b/xserver/xkb/xkb.c
index 4105c1c6b..7d95bc0e3 100644
--- a/xserver/xkb/xkb.c
+++ b/xserver/xkb/xkb.c
@@ -2343,8 +2343,8 @@ _XkbSetMapChecks(ClientPtr client, DeviceIntPtr dev, xkbSetMapReq *req, char* va
XkbDescPtr xkb;
int error;
int nTypes = 0, nActions;
- CARD8 mapWidths[XkbMaxLegalKeyCode + 1];
- CARD16 symsPerKey[XkbMaxLegalKeyCode + 1];
+ CARD8 mapWidths[XkbMaxLegalKeyCode + 1] = {0};
+ CARD16 symsPerKey[XkbMaxLegalKeyCode + 1] = {0};
xkbi= dev->key->xkbInfo;
xkb = xkbi->desc;