parent
bf32122134
commit
18dbe51d66
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue