[llvm-commits] CVS: llvm/lib/Analysis/InductionVariable.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Nov 8 18:49:01 PST 2002
Changes in directory llvm/lib/Analysis:
InductionVariable.cpp updated: 1.20 -> 1.21
---
Log message:
Fix warning
---
Diffs of the changes:
Index: llvm/lib/Analysis/InductionVariable.cpp
diff -u llvm/lib/Analysis/InductionVariable.cpp:1.20 llvm/lib/Analysis/InductionVariable.cpp:1.21
--- llvm/lib/Analysis/InductionVariable.cpp:1.20 Fri Oct 11 00:34:27 2002
+++ llvm/lib/Analysis/InductionVariable.cpp Fri Nov 8 18:48:39 2002
@@ -180,7 +180,7 @@
}
// 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) {
More information about the llvm-commits
mailing list