diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2010-09-29 23:32:20 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2010-09-29 23:32:20 +0000 |
commit | 28815c4b64f3c29934ec3d9c48c91d8c1bd97682 (patch) | |
tree | 484cbcd35ca9a506a1451bf15acc277463f14442 /lib | |
parent | fe45b104b3fb7a32dfed35bc4d82f3b89a39ec42 (diff) |
Silence compiler warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115107 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AsmParser/LLParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index e940f4a57e..c4fce2be6e 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -1248,7 +1248,7 @@ bool LLParser::ParseIndexList(SmallVectorImpl<unsigned> &Indices, AteExtraComma = true; return false; } - unsigned Idx; + unsigned Idx = 0; if (ParseUInt32(Idx)) return true; Indices.push_back(Idx); } |