Silence a bogus gcc warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28422 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-05-20 23:14:03 +00:00
parent f489fb24f2
commit 01859e8853

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: