[cfe-commits] r60713 - /cfe/trunk/Driver/RewriteObjC.cpp

Steve Naroff snaroff at apple.com
Mon Dec 8 12:01:41 PST 2008


Author: snaroff
Date: Mon Dec  8 14:01:41 2008
New Revision: 60713

URL: http://llvm.org/viewvc/llvm-project?rev=60713&view=rev
Log:
Fix a couple uninitialized variables from my previous commit.

Modified:
    cfe/trunk/Driver/RewriteObjC.cpp

Modified: cfe/trunk/Driver/RewriteObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/RewriteObjC.cpp?rev=60713&r1=60712&r2=60713&view=diff

==============================================================================
--- cfe/trunk/Driver/RewriteObjC.cpp (original)
+++ cfe/trunk/Driver/RewriteObjC.cpp Mon Dec  8 14:01:41 2008
@@ -412,7 +412,9 @@
   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);





More information about the cfe-commits mailing list