aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xutil.c b/xutil.c
index 2b482f5..2473ecc 100644
--- a/xutil.c
+++ b/xutil.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: xutil.c,v 1.31 2010/05/22 22:10:31 okan Exp $
+ * $Id: xutil.c,v 1.32 2010/05/22 22:32:08 okan Exp $
*/
#include <sys/param.h>
@@ -155,7 +155,7 @@ int
xu_getstrprop(Window win, Atom atm, char **text) {
XTextProperty prop;
char **list;
- int nitems;
+ int nitems = 0;
*text = NULL;