coverity: fix various warnings detected with Coverity
These are (most likely) only warnings and not severe bugs. Some of these changes are mostly made to get a clean run of Coverity without any warnings. Error found by running Coverity scan https://bugzilla.redhat.com/show_bug.cgi?id=1025894Co-Authored-By:Jiří Klimeš <jklimes@redhat.com> Signed-off-by:
Thomas Haller <thaller@redhat.com>
Showing