Fixed clang warnings