summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */