Fix a bogus gcc warning

llvm-svn: 28382
This commit is contained in:
Andrew Lenharth 2006-05-18 17:29:34 +00:00
parent 03524c63ff
commit b90055ef24
1 changed files with 2 additions and 2 deletions

View File

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