summaryrefslogtreecommitdiff
path: root/lib/Analysis/ProfileVerifierPass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/ProfileVerifierPass.cpp')
-rw-r--r--lib/Analysis/ProfileVerifierPass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/ProfileVerifierPass.cpp b/lib/Analysis/ProfileVerifierPass.cpp
index e0ef6cee4f..0cb75a2a07 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;