[analyzer] Fix -Wcovered-switch-default warning in MallocChecker.

Remove unnecessary default case that caused buildbot failures.

llvm-svn: 336493
This commit is contained in:
Reka Kovacs 2018-07-07 18:37:37 +00:00
parent 23f9eddabe
commit e0dae15d91
1 changed files with 0 additions and 1 deletions

View File

@ -2915,7 +2915,6 @@ std::shared_ptr<PathDiagnosticPiece> MallocChecker::MallocBugVisitor::VisitNode(
Msg = "Internal buffer is released because the object was destroyed";
break;
case AF_None:
default:
llvm_unreachable("Unhandled allocation family!");
}
StackHint = new StackHintGeneratorForSymbol(Sym,