From f8cce1d83e9dc2b175a5f436e8b5bd25e193624b Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 13 Nov 2008 05:26:15 +0000 Subject: [PATCH] Fix uninitialized variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59222 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/LiveVariables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/LiveVariables.cpp b/lib/Analysis/LiveVariables.cpp index 4432ac0a53..03a4bc7eb1 100644 --- a/lib/Analysis/LiveVariables.cpp +++ b/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(Element)) -- 2.50.1