diff options
Diffstat (limited to 'llvm/lib/Analysis/InductionVariable.cpp')
| -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) { |

