From: Steve Naroff Date: Mon, 8 Dec 2008 20:01:41 +0000 (+0000) Subject: Fix a couple uninitialized variables from my previous commit. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68272b86b36f89d7ceba1ec9a2826c2126adc72e;p=clang Fix a couple uninitialized variables from my previous commit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60713 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Driver/RewriteObjC.cpp b/Driver/RewriteObjC.cpp index b3f3e92213..eabc87bef2 100644 --- a/Driver/RewriteObjC.cpp +++ b/Driver/RewriteObjC.cpp @@ -412,7 +412,9 @@ void RewriteObjC::Initialize(ASTContext &context) { BcLabelCount = 0; SuperContructorFunctionDecl = 0; NumObjCStringLiterals = 0; - + PropParentMap = 0; + CurrentBody = 0; + // Get the ID and start/end of the main file. MainFileID = SM->getMainFileID(); const llvm::MemoryBuffer *MainBuf = SM->getBuffer(MainFileID);