]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed compilation for wxUSE_UNICODE=1, wxUSE_UNICODE_MSLU=0
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 5 Mar 2002 00:18:28 +0000 (00:18 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 5 Mar 2002 00:18:28 +0000 (00:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filefn.cpp

index c990c980ed7f1ed907f1f85acef72e1ccb5c2d3c..997c0ca6ae4c13345751d1333789bbc6abc4827b 100644 (file)
@@ -1408,6 +1408,8 @@ wxChar *wxGetWorkingDirectory(wxChar *buf, int sz)
     #ifdef HAVE_WGETCWD
                #if     wxUSE_UNICODE_MSLU
                        if ( wxGetOsVersion() != wxWIN95 )
     #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;
                #endif
                        {
                                ok = _wgetcwd(buf, sz) != NULL;