commit | 75db6d75297a136698a8e8633b37dce3d4cb7540 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Thu Nov 13 05:26:15 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Thu Nov 13 05:26:15 2008 +0000 |
tree | 00e39d4d5a61fc53b4fb289d207df9f8aa2c4102 | |
parent | f3502dbc14f161430006d0efe2e7c5c98fa18c8e [diff] [blame] |
Fix uninitialized variable. llvm-svn: 59222
diff --git a/clang/lib/Analysis/LiveVariables.cpp b/clang/lib/Analysis/LiveVariables.cpp index 4432ac0..03a4bc7 100644 --- a/clang/lib/Analysis/LiveVariables.cpp +++ b/clang/lib/Analysis/LiveVariables.cpp
@@ -184,7 +184,7 @@ // This represents a 'kill' for the variable. Stmt* Element = S->getElement(); - DeclRefExpr *DR; + DeclRefExpr *DR = 0; VarDecl* VD = 0; if (DeclStmt* DS = dyn_cast<DeclStmt>(Element))