summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-04-20 09:35:50 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-04-20 09:35:50 +0000
commit149898492fe56f6a096a875375faa7323f7e96f4 (patch)
tree224c86320032b50dbb52c115c7f07aacd555dc98
parent85eb751e4e1683af6cee3ee9dce29f74911a639d (diff)
Bugzilla #3072 (https://bugs.freedesktop.org/show_bug.cgi?id=3072)sco_port_update-baseXORG-6_8_99_7XORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4
attachment #2469 (https://bugs.freedesktop.org/attachment.cgi?id=2469): fix uninitialized pointer in libXt on Win32. Reported by Dave Williss
-rw-r--r--src/Initialize.c2
1 files changed, 1 insertions, 1 deletions
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 */