summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-22 16:00:21 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-22 16:00:21 +0930
commit30e9a33f7d1972dcf1c29c7455b2cea4e5857913 (patch)
tree451dadda067848292b3ade58508c926b883bbbbf /xkb
parent5c5a1eaf68eb11053fd5b99d24eb8024b6d5b218 (diff)
xkb: fix crash caused by uninitialised variable.
Diffstat (limited to 'xkb')
-rw-r--r--xkb/xkbLEDs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/xkbLEDs.c b/xkb/xkbLEDs.c
index 2b8efcef2..edc389f04 100644
--- a/xkb/xkbLEDs.c
+++ b/xkb/xkbLEDs.c
@@ -629,7 +629,7 @@ XkbCopySrvLedInfo( DeviceIntPtr from,
KbdFeedbackPtr kf,
LedFeedbackPtr lf)
{
- XkbSrvLedInfoPtr sli_new;
+ XkbSrvLedInfoPtr sli_new = NULL;
if (!src)
goto finish;