ALL: Resolve multiple clang warnings
Merge pull request #456 from fingolfin/clang-fixes

ALL: Resolve multiple clang warnings