Fix LLVM warnings
Merge pull request #568 from christopho/llvm_warnings

Fix LLVM warnings