aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-12-08 20:01:41 +0000
committerSteve Naroff <snaroff@apple.com>2008-12-08 20:01:41 +0000
commit68272b86b36f89d7ceba1ec9a2826c2126adc72e (patch)
tree82e705b14b57724c947cc5521f91b5cb096aaee2
parent447e4c1e7b51b5cbdd585854af13ea83608a8a50 (diff)
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
-rw-r--r--Driver/RewriteObjC.cpp4
1 files changed, 3 insertions, 1 deletions
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);