forked from OSchip/llvm-project
[analyzer] Fix -Wcovered-switch-default warning in MallocChecker.
Remove unnecessary default case that caused buildbot failures. llvm-svn: 336493
This commit is contained in:
parent
23f9eddabe
commit
e0dae15d91
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue