summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2010-05-22 22:32:08 +0000
committerokan <okan>2010-05-22 22:32:08 +0000
commit85a53083cbe06c33cdea95b6a9fcb953bcc3afa2 (patch)
treeacd8f2dead842d42e2d837cfd673b3134d9de5c5
parent72e6d2d0a9e3f1ac1c2fc52e03648c625b07a49c (diff)
downloadcwm-85a53083cbe06c33cdea95b6a9fcb953bcc3afa2.tar.gz
cwm-85a53083cbe06c33cdea95b6a9fcb953bcc3afa2.tar.xz
cwm-85a53083cbe06c33cdea95b6a9fcb953bcc3afa2.zip
initialize nitems
ok oga@
-rw-r--r--xutil.c2
1 files changed, 1 insertions, 1 deletions
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;