summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-03-11 02:12:51 +0000
committerChris Lattner <sabre@nondot.org>2011-03-11 02:12:51 +0000
commit109d6dbe50753f102566cd4895b69fd13f62efa4 (patch)
treefaaf3a7780f4c3ed82b9be219e903d1dbbb5f51a
parent17fad045cccf34822d3163ada9e70a8f4528746e (diff)
downloadllvm-109d6dbe50753f102566cd4895b69fd13f62efa4.tar.gz
llvm-109d6dbe50753f102566cd4895b69fd13f62efa4.tar.bz2
llvm-109d6dbe50753f102566cd4895b69fd13f62efa4.tar.xz
silence a conditional assignment -Wuninitialized warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127453 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Mips/MipsISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsISelLowering.cpp b/lib/Target/Mips/MipsISelLowering.cpp
index 20b299c048..11a9f1a8bb 100644
--- a/lib/Target/Mips/MipsISelLowering.cpp
+++ b/lib/Target/Mips/MipsISelLowering.cpp
@@ -1307,7 +1307,7 @@ MipsTargetLowering::LowerFormalArguments(SDValue Chain,
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) {