From: Devang Patel Date: Thu, 23 Jul 2009 01:36:16 +0000 (+0000) Subject: Silence "uninitialized use" warning. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=db5e90078ea1034cf992e7d173517d1001f089cd;p=oota-llvm.git Silence "uninitialized use" warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76836 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index 097b385c3ea..b09f23fbd1a 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -3462,7 +3462,7 @@ bool LLParser::ParseMDNodeVector(SmallVectorImpl &Elts) { assert(Lex.getKind() == lltok::lbrace); Lex.Lex(); do { - Value *V; + Value *V = 0; if (Lex.getKind() == lltok::kw_null) { Lex.Lex(); V = 0;