[llvm-commits] [llvm] r76836 - /llvm/trunk/lib/AsmParser/LLParser.cpp
Devang Patel
dpatel at apple.com
Wed Jul 22 18:36:18 PDT 2009
Author: dpatel
Date: Wed Jul 22 20:36:16 2009
New Revision: 76836
URL: http://llvm.org/viewvc/llvm-project?rev=76836&view=rev
Log:
Silence "uninitialized use" warning.
Modified:
llvm/trunk/lib/AsmParser/LLParser.cpp
Modified: llvm/trunk/lib/AsmParser/LLParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLParser.cpp?rev=76836&r1=76835&r2=76836&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLParser.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLParser.cpp Wed Jul 22 20:36:16 2009
@@ -3462,7 +3462,7 @@
assert(Lex.getKind() == lltok::lbrace);
Lex.Lex();
do {
- Value *V;
+ Value *V = 0;
if (Lex.getKind() == lltok::kw_null) {
Lex.Lex();
V = 0;
More information about the llvm-commits
mailing list