Remove WINCE check

We don't actually support Win CE
This commit is contained in:
Ian McInerney 2019-12-17 15:38:38 +00:00
parent bf32122134
commit 18dbe51d66
1 changed files with 0 additions and 4 deletions

View File

@ -377,9 +377,6 @@ wxString KIwxExpandEnvVars(const wxString& str)
wxString strVarName( str.c_str() + n + 1, m - n - 1 ); 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 // NB: use wxGetEnv instead of wxGetenv as otherwise variables
// set through wxSetEnv may not be read correctly! // set through wxSetEnv may not be read correctly!
bool expanded = false; bool expanded = false;
@ -391,7 +388,6 @@ wxString KIwxExpandEnvVars(const wxString& str)
expanded = true; expanded = true;
} }
else else
#endif
{ {
// variable doesn't exist => don't change anything // variable doesn't exist => don't change anything
#ifdef __WINDOWS__ #ifdef __WINDOWS__