diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-29 15:01:06 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-29 15:01:06 -0200 |
commit | a1977883c9f5ef0e515569d6e2ebccb07411f98c (patch) | |
tree | 7b94215aca564ed1a43c371a3d47422faaffa77f /modules | |
parent | 8ba0ca32a63c532f128bdca7f1bf982cab8e12be (diff) |
Janitor: Correct some gcc/sparse warnings.
Most remaining warnings are about XIM/Xim to/from conversion
and discarding const from pointers.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/im/ximcp/imTrX.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/im/ximcp/imTrX.c b/modules/im/ximcp/imTrX.c index 2b08596..b9a9f67 100644 --- a/modules/im/ximcp/imTrX.c +++ b/modules/im/ximcp/imTrX.c @@ -439,7 +439,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; |