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 | 83e471180c48e785316a5232387d4d96e841047e (patch) | |
tree | 3c8ef0a683ee7c273ad916c8e01bb64ae67485d0 /llvm/lib/AsmParser/LLParser.cpp | |
parent | 74c06b202fba4a92b59c2c529f37350130ca2073 (diff) | |
download | bcm5719-llvm-83e471180c48e785316a5232387d4d96e841047e.tar.gz bcm5719-llvm-83e471180c48e785316a5232387d4d96e841047e.zip |
Silence compiler warning.
llvm-svn: 115107
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
-rw-r--r-- | llvm/lib/AsmParser/LLParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp index e940f4a57ea..c4fce2be6ee 100644 --- a/llvm/lib/AsmParser/LLParser.cpp +++ b/llvm/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); } |