summary refs log tree commit diff
path: root/xutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'xutil.c')
-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;