X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/731dd422ea491e7de32209895c88bc9897574726..67b81440f079f88e6202a199fd5763af73bbac0f:/src/msw/utilsexc.cpp diff --git a/src/msw/utilsexc.cpp b/src/msw/utilsexc.cpp index 9429ecb4f7..12a78c001a 100644 --- a/src/msw/utilsexc.cpp +++ b/src/msw/utilsexc.cpp @@ -185,6 +185,7 @@ long wxExecute(const wxString& cmd, bool sync, wxProcess *handler) { wxCHECK_MSG( !!cmd, 0, wxT("empty command in wxExecute") ); + wxString command; #if wxUSE_IPC // DDE hack: this is really not pretty, but we need to allow this for // transparent handling of DDE servers in wxMimeTypesManager. Usually it @@ -194,7 +195,7 @@ long wxExecute(const wxString& cmd, bool sync, wxProcess *handler) // keep all this well hidden from the application, we allow a special form // of command: WX_DDE::DDE_SERVER:DDE_TOPIC:DDE_COMMAND in which // case we execute just and process the rest below - wxString command, ddeServer, ddeTopic, ddeCommand; + wxString ddeServer, ddeTopic, ddeCommand; static const size_t lenDdePrefix = 7; // strlen("WX_DDE:") if ( cmd.Left(lenDdePrefix) == _T("WX_DDE#") ) {