diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-06-29 13:30:08 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-07-05 08:11:41 +0200 |
commit | b34b47ed5463af3659dae21f3a2c2d68264fab3b (patch) | |
tree | 454552ed7c0a4c17eda546d3694e5ad72ff03c5a /nx-X11 | |
parent | eddd4876bb40cf0cd7826f34eff2128e86fed42a (diff) | |
download | nx-libs-b34b47ed5463af3659dae21f3a2c2d68264fab3b.tar.gz nx-libs-b34b47ed5463af3659dae21f3a2c2d68264fab3b.tar.bz2 nx-libs-b34b47ed5463af3659dae21f3a2c2d68264fab3b.zip |
nx-X11/lib/X11/imTrX.c: Fix warning ‘len’ may be used uninitialized in this function (_XimRead).
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/lib/X11/imTrX.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/imTrX.c b/nx-X11/lib/X11/imTrX.c index 7d00bb3f7..4aa587662 100644 --- a/nx-X11/lib/X11/imTrX.c +++ b/nx-X11/lib/X11/imTrX.c @@ -436,7 +436,7 @@ _XimXRead(Xim im, XPointer recv_buf, int buf_len, int *ret_len) { XEvent *ev; XEvent event; - int len; + int len = 0; XSpecRec *spec = (XSpecRec *)im->private.proto.spec; XPointer arg = spec->ev; |