[llvm-commits] [llvm] r60145 - /llvm/trunk/lib/Target/PIC16/PIC16ISelLowering.cpp

Evan Cheng evan.cheng at apple.com
Wed Nov 26 18:29:26 PST 2008


Author: evancheng
Date: Wed Nov 26 20:29:25 2008
New Revision: 60145

URL: http://llvm.org/viewvc/llvm-project?rev=60145&view=rev
Log:
Eliminate a compile time warning.

Modified:
    llvm/trunk/lib/Target/PIC16/PIC16ISelLowering.cpp

Modified: llvm/trunk/lib/Target/PIC16/PIC16ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/PIC16ISelLowering.cpp?rev=60145&r1=60144&r2=60145&view=diff

==============================================================================
--- llvm/trunk/lib/Target/PIC16/PIC16ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/PIC16/PIC16ISelLowering.cpp Wed Nov 26 20:29:25 2008
@@ -478,7 +478,7 @@
   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)





More information about the llvm-commits mailing list