diff options
author | Devang Patel <dpatel@apple.com> | 2009-07-23 01:36:16 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-07-23 01:36:16 +0000 |
commit | db5e90078ea1034cf992e7d173517d1001f089cd (patch) | |
tree | 11562fe8ca1c6fbb4369b7bc99ebbbf7b5f37916 /lib/AsmParser | |
parent | 6b0c2173a348ec7349bee2185f1ad16d9f07040c (diff) | |
download | external_llvm-db5e90078ea1034cf992e7d173517d1001f089cd.zip external_llvm-db5e90078ea1034cf992e7d173517d1001f089cd.tar.gz external_llvm-db5e90078ea1034cf992e7d173517d1001f089cd.tar.bz2 |
Silence "uninitialized use" warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser')
-rw-r--r-- | lib/AsmParser/LLParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index 097b385..b09f23f 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -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; |