commit | 1573308b6dd6e548c3ac70d740579db0fb086c67 | [log] [tgz] |
---|---|---|
author | Andreas Neustifter <astifter@gmx.at> | Fri Sep 04 21:22:04 2009 +0000 |
committer | Andreas Neustifter <astifter@gmx.at> | Fri Sep 04 21:22:04 2009 +0000 |
tree | 4e9938d97affc3940e6bae86217307531ad20f40 | |
parent | 056fc97aaab9f2ae097ee243175fb21a871b5462 [diff] [blame] |
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 e0ef6ce..0cb75a2 100644 --- a/lib/Analysis/ProfileVerifierPass.cpp +++ b/lib/Analysis/ProfileVerifierPass.cpp
@@ -167,6 +167,7 @@ return 0; } else { assert(0 && Message); + return 0; } } else { return EdgeWeight;