diff options
Diffstat (limited to 'wx+/shell_execute.h')
-rw-r--r-- | wx+/shell_execute.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/shell_execute.h b/wx+/shell_execute.h index acf84794..a069fdb3 100644 --- a/wx+/shell_execute.h +++ b/wx+/shell_execute.h @@ -102,7 +102,7 @@ void shellExecute(const Zstring& command, ExecutionType type = EXEC_TYPE_ASYNC) wxMessageBox(_("Invalid command line:") + L"\n" + utfCvrtTo<wxString>(command)); } else - async([=] { /*int rv = */ ::system(command.c_str()); }); + async([=] { int rv = ::system(command.c_str()); (void)rv; }); //unfortunately we are not allowed to show a wxMessageBox from a worker thread #endif } |