Applied warning/errors fixes

Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>