Fix a bogus gcc warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28382 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Lenharth 2006-05-18 17:29:34 +00:00
parent 751458dac9
commit d56aa55358

View File

@ -377,8 +377,8 @@ void AlphaDAGToDAGISel::Select(SDOperand &Result, SDOperand Op) {
break;
case ISD::AND: {
ConstantSDNode* SC;
ConstantSDNode* MC;
ConstantSDNode* SC = NULL;
ConstantSDNode* MC = NULL;
if (N->getOperand(0).getOpcode() == ISD::SRL &&
(MC = dyn_cast<ConstantSDNode>(N->getOperand(1))) &&
(SC = dyn_cast<ConstantSDNode>(N->getOperand(0).getOperand(1))))