From: Andreas Neustifter Date: Fri, 4 Sep 2009 21:22:04 +0000 (+0000) Subject: Prevent warnings on compilers for which its not clear that assert won't return. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=31dcbc3b4a1dea7351af5e8c08285c91049ab2c3;p=oota-llvm.git Prevent warnings on compilers for which its not clear that assert won't return. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81044 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/ProfileVerifierPass.cpp b/lib/Analysis/ProfileVerifierPass.cpp index e0ef6cee4fe..0cb75a2a07d 100644 --- a/lib/Analysis/ProfileVerifierPass.cpp +++ b/lib/Analysis/ProfileVerifierPass.cpp @@ -167,6 +167,7 @@ double ProfileVerifierPass::ReadOrAssert(ProfileInfo::Edge E) { return 0; } else { assert(0 && Message); + return 0; } } else { return EdgeWeight;