From d0622b689421852aa8b4a0962821d6cd5bfc0f87 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 20 May 2006 23:14:03 +0000 Subject: Silence a bogus gcc warning llvm-svn: 28422 --- llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm') 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(V); - Instruction *Res; + Instruction *Res = 0; switch (I->getOpcode()) { case Instruction::And: case Instruction::Or: -- cgit v1.2.3