fix possible issues found by Coverity static analysis (thanks to Jiri Popelka)
1 file changed