X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/564225a113e7bd03aad21c7cdf168da6ee02ba01..bbee1b4abc13379569607df8f6985ec68dc12231:/src/common/filefn.cpp?ds=sidebyside diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index c990c980ed..997c0ca6ae 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1408,6 +1408,8 @@ wxChar *wxGetWorkingDirectory(wxChar *buf, int sz) #ifdef HAVE_WGETCWD #if wxUSE_UNICODE_MSLU if ( wxGetOsVersion() != wxWIN95 ) + #else + char *cbuf = NULL; // never really used because needsANSI will always be FALSE #endif { ok = _wgetcwd(buf, sz) != NULL;