summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-20 23:14:03 +0000
committerChris Lattner <sabre@nondot.org>2006-05-20 23:14:03 +0000
commitd0622b689421852aa8b4a0962821d6cd5bfc0f87 (patch)
treed973553fd352ebda723f1d065ef5159460853129 /llvm
parent482fb651449a6644e4249fda60ba3729994756ec (diff)
downloadbcm5719-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.cpp2
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:
OpenPOWER on IntegriCloud