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 | 0006bd75201f340b95c1dbf71e50dc5de5ed9425 (patch) | |
tree | b92a619dde2fc0aec7a6209ea840eeaa50a525d4 /lib/Analysis/InductionVariable.cpp | |
parent | bf10f05bf731b00979bb38f9c0c3d7a1145d8859 (diff) |
Fix warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/InductionVariable.cpp')
-rw-r--r-- | lib/Analysis/InductionVariable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/InductionVariable.cpp b/lib/Analysis/InductionVariable.cpp index 6aaf8c018e..c71033e460 100644 --- 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) { |