diff options
Diffstat (limited to 'src/XlibInt.c')
-rw-r--r-- | src/XlibInt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XlibInt.c b/src/XlibInt.c index 172fc9e5..33c60973 100644 --- a/src/XlibInt.c +++ b/src/XlibInt.c @@ -3346,7 +3346,7 @@ int _XOpenFile(path, flags) int flags; { char buf[MAX_PATH]; - char* bufp; + char* bufp = NULL; int ret = -1; UINT olderror = SetErrorMode (SEM_FAILCRITICALERRORS); @@ -3365,7 +3365,7 @@ void* _XFopenFile(path, mode) _Xconst char* mode; { char buf[MAX_PATH]; - char* bufp; + char* bufp = NULL; void* ret = NULL; UINT olderror = SetErrorMode (SEM_FAILCRITICALERRORS); |