aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/XKBList.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/XKBList.c')
-rw-r--r--nx-X11/lib/X11/XKBList.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nx-X11/lib/X11/XKBList.c b/nx-X11/lib/X11/XKBList.c
index d8086a305..d3d29e2a6 100644
--- a/nx-X11/lib/X11/XKBList.c
+++ b/nx-X11/lib/X11/XKBList.c
@@ -193,9 +193,8 @@ XkbListComponents(Display *dpy,
return list;
}
if (_XkbInitReadBuffer(dpy, &buf, extraLen)) {
- Status status;
+ Status status = Success;
- status = Success;
list = _XkbTypedCalloc(1, XkbComponentListRec);
if (!list) {
_XkbFreeReadBuffer(&buf);