From 268faf71ba89650b00752614b9368f0dbd29f966 Mon Sep 17 00:00:00 2001 From: okan Date: Sat, 22 May 2010 22:32:08 +0000 Subject: [PATCH] initialize nitems ok oga@ --- app/cwm/xutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/cwm/xutil.c b/app/cwm/xutil.c index 2b482f5e6..2473ecc41 100644 --- a/app/cwm/xutil.c +++ b/app/cwm/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 @@ -155,7 +155,7 @@ int xu_getstrprop(Window win, Atom atm, char **text) { XTextProperty prop; char **list; - int nitems; + int nitems = 0; *text = NULL;