diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index c3a43915c27..a622e819fa3 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -874,7 +874,7 @@ X86TargetLowering::LowerFastCCArguments(SDOperand Op, SelectionDAG &DAG) { if (ObjSize > 4) ArgIncrement = ObjSize; - unsigned Reg; + unsigned Reg = 0; SDOperand ArgValue; if (ObjIntRegs || ObjXMMRegs) { switch (ObjectVT) {