From 149898492fe56f6a096a875375faa7323f7e96f4 Mon Sep 17 00:00:00 2001 From: Alexander Gottwald Date: Wed, 20 Apr 2005 09:35:50 +0000 Subject: Bugzilla #3072 (https://bugs.freedesktop.org/show_bug.cgi?id=3072) attachment #2469 (https://bugs.freedesktop.org/attachment.cgi?id=2469): fix uninitialized pointer in libXt on Win32. Reported by Dave Williss --- src/Initialize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Initialize.c b/src/Initialize.c index 09fb0cc..83dc7e3 100644 --- a/src/Initialize.c +++ b/src/Initialize.c @@ -320,7 +320,7 @@ static String GetRootDirName( { #ifdef WIN32 register char *ptr1; - register char *ptr2; + register char *ptr2 = NULL; int len1 = 0, len2 = 0; if (ptr1 = getenv("HOME")) { /* old, deprecated */ -- cgit v1.2.3