commit | 94c374ef098c70ea33f5353bdc982ca8c406308b | [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 | 8fc9ba6fcf52993f49d92ef61f34506032b51aa8 [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))