[Lldb-commits] [lldb] r137533 - /lldb/trunk/include/lldb/Expression/ProcessDataAllocator.h

Greg Clayton gclayton at apple.com
Fri Aug 12 16:32:17 PDT 2011


Author: gclayton
Date: Fri Aug 12 18:32:17 2011
New Revision: 137533

URL: http://llvm.org/viewvc/llvm-project?rev=137533&view=rev
Log:
Removed an initialization that wasn't needed.


Modified:
    lldb/trunk/include/lldb/Expression/ProcessDataAllocator.h

Modified: lldb/trunk/include/lldb/Expression/ProcessDataAllocator.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Expression/ProcessDataAllocator.h?rev=137533&r1=137532&r2=137533&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Expression/ProcessDataAllocator.h (original)
+++ lldb/trunk/include/lldb/Expression/ProcessDataAllocator.h Fri Aug 12 18:32:17 2011
@@ -46,8 +46,6 @@
         if (m_allocation)
             m_process.DeallocateMemory(m_allocation);
         
-        m_allocation = 0;
-        
         m_allocation = m_process.AllocateMemory(m_stream_string.GetSize(), lldb::ePermissionsReadable | lldb::ePermissionsWritable, err);
         
         if (!err.Success())





More information about the lldb-commits mailing list