commit | f8cce1d83e9dc2b175a5f436e8b5bd25e193624b | [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 | 08d92a7fabef7a8175a0a93e2c42222152c2d9b6 | |
parent | 26fb272713809af97e6f58ca61b8b9dcba37afc7 [diff] [blame] |
Fix uninitialized variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59222 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/LiveVariables.cpp b/lib/Analysis/LiveVariables.cpp index 4432ac0..03a4bc7 100644 --- a/lib/Analysis/LiveVariables.cpp +++ b/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))