some compil warning fixes

This commit is contained in:
Jacek Jendrzej
2016-04-22 16:46:21 +02:00
parent f78fc97fe3
commit 8638cd73b7
6 changed files with 12 additions and 12 deletions

View File

@@ -233,7 +233,7 @@ void CShellWindow::showResult()
show_button = true;
}
else if (mode & ACKNOWLEDGE_EVENT){
if (*res != 0){
if (res && *res != 0){
OnResultError(res);
if (OnResultError.empty())
DisplayErrorMessage("Error while execution of task. Please see window for details!");