Silence "uninitialized use" warning.
authorDevang Patel <dpatel@apple.com>
Thu, 23 Jul 2009 01:36:16 +0000 (01:36 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 23 Jul 2009 01:36:16 +0000 (01:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76836 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/LLParser.cpp

index 097b385c3eaf2e3b697de2e720bdb13ea2ee5ee6..b09f23fbd1a1812a1113c23fbc56105f69a5673f 100644 (file)
@@ -3462,7 +3462,7 @@ bool LLParser::ParseMDNodeVector(SmallVectorImpl<Value*> &Elts) {
   assert(Lex.getKind() == lltok::lbrace);
   Lex.Lex();
   do {
-    Value *V;
+    Value *V = 0;
     if (Lex.getKind() == lltok::kw_null) {
       Lex.Lex();
       V = 0;