try fix llvm compiler warning

try fix llvm compiler warning : case value not in enumerated type
fix formatting (tabs vs spaces)