From: Jouk Jansen Date: Mon, 1 Nov 2010 11:58:31 +0000 (+0000) Subject: Create work-around for wxGetEnvMap on OpenVMS (correction) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/04b11eb3fb65462b5654cbb732aaf4898a93dd6c Create work-around for wxGetEnvMap on OpenVMS (correction) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 3dca6a7abf..8b593c3091 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -560,7 +560,7 @@ bool wxGetEnvMap(wxEnvVariableHashMap *map) #elif defined(__VMS) // Now this routine wil give false for OpenVMS // TODO : should we do something with logicals? - char **env; + char **env=NULL; #elif defined(__WXOSX__) // Under Mac shared libraries don't have access to the global environ // variable so use this Mac-specific function instead as advised by