Silence a bogus gcc warning

llvm-svn: 28422
This commit is contained in:
Chris Lattner 2006-05-20 23:14:03 +00:00
parent 482fb65144
commit d0622b6894
1 changed files with 1 additions and 1 deletions

View File

@ -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: