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 | d0622b689421852aa8b4a0962821d6cd5bfc0f87 (patch) | |
tree | d973553fd352ebda723f1d065ef5159460853129 /llvm | |
parent | 482fb651449a6644e4249fda60ba3729994756ec (diff) | |
download | bcm5719-llvm-d0622b689421852aa8b4a0962821d6cd5bfc0f87.tar.gz bcm5719-llvm-d0622b689421852aa8b4a0962821d6cd5bfc0f87.zip |
Silence a bogus gcc warning
llvm-svn: 28422
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index f25ac97ef5c..2a48fc06c94 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/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: |