[Lldb-commits] [lldb] r219912 - Remove unreachable code.

Jason Molenda jmolenda at apple.com
Thu Oct 16 01:05:49 PDT 2014


Author: jmolenda
Date: Thu Oct 16 03:05:49 2014
New Revision: 219912

URL: http://llvm.org/viewvc/llvm-project?rev=219912&view=rev
Log:
Remove unreachable code.

Modified:
    lldb/trunk/source/Symbol/ObjectFile.cpp

Modified: lldb/trunk/source/Symbol/ObjectFile.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ObjectFile.cpp?rev=219912&r1=219911&r2=219912&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ObjectFile.cpp (original)
+++ lldb/trunk/source/Symbol/ObjectFile.cpp Thu Oct 16 03:05:49 2014
@@ -558,8 +558,6 @@ ObjectFile::MemoryMapSectionData (const
         // The object file now contains a full mmap'ed copy of the object file data, so just use this
         return GetData(section->GetFileOffset(), section->GetFileSize(), section_data);
     }
-    section_data.Clear();
-    return 0;
 }
 
 





More information about the lldb-commits mailing list