summaryrefslogtreecommitdiff
path: root/wx+/shell_execute.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:24:09 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:24:09 +0200
commit110fc5dee14fc7988f631a158e50d283446aba7a (patch)
tree7c19dfd3bdb8c4636409ec80a38c70499ac006db /wx+/shell_execute.h
parent5.14 (diff)
downloadFreeFileSync-110fc5dee14fc7988f631a158e50d283446aba7a.tar.gz
FreeFileSync-110fc5dee14fc7988f631a158e50d283446aba7a.tar.bz2
FreeFileSync-110fc5dee14fc7988f631a158e50d283446aba7a.zip
5.15
Diffstat (limited to 'wx+/shell_execute.h')
-rw-r--r--wx+/shell_execute.h2
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
}
bgstack15