dfac991
Misc code cleanups arising from Google analysis. No security impleications or CVEs. Signed-off-by: Petr Menšík <pemensik@redhat.com>