diff --git a/common/common.cpp b/common/common.cpp index 5486c1112c..175134ffaa 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -377,9 +377,6 @@ wxString KIwxExpandEnvVars(const wxString& str) wxString strVarName( str.c_str() + n + 1, m - n - 1 ); -#ifdef __WXWINCE__ - const bool expanded = false; -#else // NB: use wxGetEnv instead of wxGetenv as otherwise variables // set through wxSetEnv may not be read correctly! bool expanded = false; @@ -391,7 +388,6 @@ wxString KIwxExpandEnvVars(const wxString& str) expanded = true; } else -#endif { // variable doesn't exist => don't change anything #ifdef __WINDOWS__