[llvm-commits] [llvm] r127453 - /llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
Chris Lattner
sabre at nondot.org
Thu Mar 10 18:12:51 PST 2011
Author: lattner
Date: Thu Mar 10 20:12:51 2011
New Revision: 127453
URL: http://llvm.org/viewvc/llvm-project?rev=127453&view=rev
Log:
silence a conditional assignment -Wuninitialized warning.
Modified:
llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp?rev=127453&r1=127452&r2=127453&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp Thu Mar 10 20:12:51 2011
@@ -1307,7 +1307,7 @@
CCInfo.AnalyzeFormalArguments(Ins, CC_Mips);
unsigned FirstStackArgLoc = (Subtarget->isABI_EABI() ? 0 : 16);
- unsigned LastStackArgEndOffset;
+ unsigned LastStackArgEndOffset = 0;
EVT LastRegArgValVT;
for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) {
More information about the llvm-commits
mailing list