From ec8920158f9b3603f061c0d354c9b77cb6ec69f7 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xutil.c') 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 @@ -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 v1.2.3-2-gb3c3