diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-20 23:14:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-20 23:14:03 +0000 |
commit | 01859e88539f73a03459e420eb619ba76468cbc9 (patch) | |
tree | 3d7e054a347cbb5b5fd48c1668ff4813ea0b0dd0 | |
parent | f489fb24f2bd3efb70e0bb2a4c0440a9c25e0e67 (diff) |
Silence a bogus gcc warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28422 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index f25ac97ef5..2a48fc06c9 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -4822,7 +4822,7 @@ Value *InstCombiner::EvaluateInDifferentType(Value *V, const Type *Ty) { // Otherwise, it must be an instruction. Instruction *I = cast<Instruction>(V); - Instruction *Res; + Instruction *Res = 0; switch (I->getOpcode()) { case Instruction::And: case Instruction::Or: |