projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix warning
[oota-llvm.git]
/
lib
/
Analysis
/
InductionVariable.cpp
diff --git
a/lib/Analysis/InductionVariable.cpp
b/lib/Analysis/InductionVariable.cpp
index 6aaf8c018e148f66174d5e93d49b9e0bb54b4187..c71033e4607db668495a6dc3333d57962d3b2594 100644
(file)
--- a/
lib/Analysis/InductionVariable.cpp
+++ b/
lib/Analysis/InductionVariable.cpp
@@
-180,7
+180,7
@@
Value* InductionVariable::getExecutionCount(LoopInfo *LoopInfo) {
}
// Find final node: predecesor of the loop header that's also an exit
- BasicBlock *terminator;
+ BasicBlock *terminator
= 0
;
BasicBlock *header = L->getHeader();
for (pred_iterator PI = pred_begin(header), PE = pred_end(header);
PI != PE; ++PI) {