Eliminate a compile time warning.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 27 Nov 2008 02:29:25 +0000 (02:29 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 27 Nov 2008 02:29:25 +0000 (02:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60145 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PIC16/PIC16ISelLowering.cpp

index c085da9a7506702734e68c29f442e7b23a51c344..42787f3209e4f0f589f59ceddc305a12f2c701c5 100644 (file)
@@ -478,7 +478,7 @@ SDNode *PIC16TargetLowering::ExpandShift(SDNode *N, SelectionDAG &DAG) {
   SDVTList Tys; 
   SDValue ShfCom;   // Shift Component - Lo component should be shifted
   SDValue RotCom;   // Rotate Component- Hi component should be rotated
-  PIC16ISD::NodeType ShfNode, RotNode; 
+  PIC16ISD::NodeType ShfNode = PIC16ISD::Dummy, RotNode = PIC16ISD::Dummy;
   
   // Currently handling Constant shift only
   if (Amt.getOpcode() != ISD::Constant)