From: Nick Lewycky Date: Wed, 29 Sep 2010 23:32:20 +0000 (+0000) Subject: Silence compiler warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=28815c4b64f3c29934ec3d9c48c91d8c1bd97682;p=oota-llvm.git Silence compiler warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115107 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index e940f4a57ea..c4fce2be6ee 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -1248,7 +1248,7 @@ bool LLParser::ParseIndexList(SmallVectorImpl &Indices, AteExtraComma = true; return false; } - unsigned Idx; + unsigned Idx = 0; if (ParseUInt32(Idx)) return true; Indices.push_back(Idx); }