From 85a53083cbe06c33cdea95b6a9fcb953bcc3afa2 Mon Sep 17 00:00:00 2001 From: okan Date: Sat, 22 May 2010 22:32:08 +0000 Subject: initialize nitems ok oga@ --- xutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xutil.c b/xutil.c index 2308173..c57bea7 100644 --- a/xutil.c +++ b/xutil.c @@ -155,7 +155,7 @@ int xu_getstrprop(Window win, Atom atm, char **text) { XTextProperty prop; char **list; - int nitems; + int nitems = 0; *text = NULL; -- cgit 1.4.1