From db5e90078ea1034cf992e7d173517d1001f089cd Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Thu, 23 Jul 2009 01:36:16 +0000 Subject: [PATCH] Silence "uninitialized use" warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76836 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AsmParser/LLParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1