From 01859e88539f73a03459e420eb619ba76468cbc9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 20 May 2006 23:14:03 +0000 Subject: [PATCH] Silence a bogus gcc warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28422 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/InstructionCombining.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index f25ac97ef5c..2a48fc06c94 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(V); - Instruction *Res; + Instruction *Res = 0; switch (I->getOpcode()) { case Instruction::And: case Instruction::Or: -- 2.34.1