diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-11-09 00:49:43 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-11-09 00:49:43 +0000 |
| commit | a2620ac1568a788a122ecfd5c03d136e92dd38fe (patch) | |
| tree | 895ee544d9cd691e289cc54898265bf736600c8b /llvm/lib/Analysis | |
| parent | 63aeefeafba129ae4cbc3cc3bf007a064b978e06 (diff) | |
| download | bcm5719-llvm-a2620ac1568a788a122ecfd5c03d136e92dd38fe.tar.gz bcm5719-llvm-a2620ac1568a788a122ecfd5c03d136e92dd38fe.zip | |
Fix warning
llvm-svn: 4649
Diffstat (limited to 'llvm/lib/Analysis')
| -rw-r--r-- | llvm/lib/Analysis/InductionVariable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/InductionVariable.cpp b/llvm/lib/Analysis/InductionVariable.cpp index 6aaf8c018e1..c71033e4607 100644 --- a/llvm/lib/Analysis/InductionVariable.cpp +++ b/llvm/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) { |

