diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-11-13 05:26:15 +0000 | 
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-11-13 05:26:15 +0000 | 
| commit | 75db6d75297a136698a8e8633b37dce3d4cb7540 (patch) | |
| tree | 00e39d4d5a61fc53b4fb289d207df9f8aa2c4102 /clang/lib | |
| parent | f3502dbc14f161430006d0efe2e7c5c98fa18c8e (diff) | |
| download | bcm5719-llvm-75db6d75297a136698a8e8633b37dce3d4cb7540.tar.gz bcm5719-llvm-75db6d75297a136698a8e8633b37dce3d4cb7540.zip  | |
Fix uninitialized variable.
llvm-svn: 59222
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Analysis/LiveVariables.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/LiveVariables.cpp b/clang/lib/Analysis/LiveVariables.cpp index 4432ac0a53e..03a4bc7eb10 100644 --- a/clang/lib/Analysis/LiveVariables.cpp +++ b/clang/lib/Analysis/LiveVariables.cpp @@ -184,7 +184,7 @@ TransferFuncs::BlockStmt_VisitObjCForCollectionStmt(ObjCForCollectionStmt* S) {    // 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))  | 

