some compil warning fixes

Origin commit data
------------------
Commit: 8638cd73b7
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-22 (Fri, 22 Apr 2016)
This commit is contained in:
Jacek Jendrzej
2016-04-22 16:46:21 +02:00
parent 5ee708dd97
commit b06b3db436
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!");