Fix a bogus gcc warning
authorAndrew Lenharth <andrewl@lenharth.org>
Thu, 18 May 2006 17:29:34 +0000 (17:29 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Thu, 18 May 2006 17:29:34 +0000 (17:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28382 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaISelDAGToDAG.cpp

index b4c7febf6da2a7ef854ce036c30bfdc393921d2a..772da03ac48e5601c74b5fe80ff63a57df041e16 100644 (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))))