aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/xkb
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2017-12-10 23:57:35 +0100
committerMihai Moldovan <ionic@ionic.de>2017-12-28 00:17:54 +0100
commit6acbfab33133a92dbd7f128284d26f94bfeb1af2 (patch)
treea270c581d3268b20ef8527cffeb8ad91b26b9cf7 /nx-X11/programs/Xserver/xkb
parentbc5f9a2363cb865fa1a8a1427d9320514e7d1889 (diff)
downloadnx-libs-6acbfab33133a92dbd7f128284d26f94bfeb1af2.tar.gz
nx-libs-6acbfab33133a92dbd7f128284d26f94bfeb1af2.tar.bz2
nx-libs-6acbfab33133a92dbd7f128284d26f94bfeb1af2.zip
reduce usage of uninitialised bytes
as reported by valgrind
Diffstat (limited to 'nx-X11/programs/Xserver/xkb')
-rw-r--r--nx-X11/programs/Xserver/xkb/xkb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/xkb/xkb.c b/nx-X11/programs/Xserver/xkb/xkb.c
index 6798f2dda..10df6c372 100644
--- a/nx-X11/programs/Xserver/xkb/xkb.c
+++ b/nx-X11/programs/Xserver/xkb/xkb.c
@@ -600,7 +600,7 @@ ProcXkbLatchLockState(ClientPtr client)
int
ProcXkbGetControls(ClientPtr client)
{
- xkbGetControlsReply rep;
+ xkbGetControlsReply rep = {0};
XkbControlsPtr xkb;
DeviceIntPtr dev;