aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-07-23 01:36:16 +0000
committerDevang Patel <dpatel@apple.com>2009-07-23 01:36:16 +0000
commit4125187cbf929617a153248f5ee70cc8e40c258d (patch)
tree11562fe8ca1c6fbb4369b7bc99ebbbf7b5f37916 /lib
parent85d25c3de46175d1e81a622415b70c375262eb5e (diff)
downloadexternal_llvm-4125187cbf929617a153248f5ee70cc8e40c258d.zip
external_llvm-4125187cbf929617a153248f5ee70cc8e40c258d.tar.gz
external_llvm-4125187cbf929617a153248f5ee70cc8e40c258d.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')
-rw-r--r--lib/AsmParser/LLParser.cpp2
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;