diff options
| -rw-r--r-- | clang/lib/Analysis/PathDiagnostic.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Analysis/PathDiagnostic.cpp b/clang/lib/Analysis/PathDiagnostic.cpp index 347bc922f34..4fa88ed595b 100644 --- a/clang/lib/Analysis/PathDiagnostic.cpp +++ b/clang/lib/Analysis/PathDiagnostic.cpp @@ -29,6 +29,7 @@ void PathDiagnosticClient::HandleDiagnostic(Diagnostic::Level DiagLevel, const char *LevelStr; switch (DiagLevel) { + default: case Diagnostic::Ignored: assert(0 && "Invalid diagnostic type"); case Diagnostic::Note: LevelStr = "note: "; break; case Diagnostic::Warning: LevelStr = "warning: "; break; |

