summaryrefslogtreecommitdiffstats
path: root/lldb/source/Symbol/ObjectFile.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2016-02-26 01:20:20 +0000
committerGreg Clayton <gclayton@apple.com>2016-02-26 01:20:20 +0000
commitcec91ef92169483fbcc85c78a65e00a6fda1c35b (patch)
tree98e18b90c6eef89526ef8ecd294b88409b2a2f57 /lldb/source/Symbol/ObjectFile.cpp
parent5971f18133cbdece6012b3e0f54ae85877e4306f (diff)
downloadbcm5719-llvm-cec91ef92169483fbcc85c78a65e00a6fda1c35b.tar.gz
bcm5719-llvm-cec91ef92169483fbcc85c78a65e00a6fda1c35b.zip
Fix all of the unannotated switch cases to annotate the fall through or do the right thing and break.
llvm-svn: 261950
Diffstat (limited to 'lldb/source/Symbol/ObjectFile.cpp')
-rw-r--r--lldb/source/Symbol/ObjectFile.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Symbol/ObjectFile.cpp b/lldb/source/Symbol/ObjectFile.cpp
index 2ee3a634487..208f3f2ad6d 100644
--- a/lldb/source/Symbol/ObjectFile.cpp
+++ b/lldb/source/Symbol/ObjectFile.cpp
@@ -547,8 +547,6 @@ ObjectFile::ReadSectionData (const Section *section, DataExtractor& section_data
// The object file now contains a full mmap'ed copy of the object file data, so just use this
return MemoryMapSectionData (section, section_data);
}
- section_data.Clear();
- return 0;
}
size_t
OpenPOWER on IntegriCloud