MachO: Remove an unused variable from processSection

The local variable `cfi` became dead in r220730 when it's use was
obviated; it was replaced with a call to read32.

No functionality change intended.

llvm-svn: 221412
This commit is contained in:
David Majnemer 2014-11-05 23:22:41 +00:00
parent ed8bca4f42
commit 31fb9edc00
1 changed files with 0 additions and 2 deletions

View File

@ -388,7 +388,6 @@ std::error_code processSection(DefinedAtom::ContentType atomType,
return processSymboledSection(atomType, section, normalizedFile, file,
scatterable, copyRefs);
} else {
const uint32_t *cfi;
unsigned int size;
for (unsigned int offset = 0, e = section.content.size(); offset != e;) {
switch (atomizeModel) {
@ -422,7 +421,6 @@ std::error_code processSection(DefinedAtom::ContentType atomType,
break;
case atomizeCFI:
// Break section up into dwarf unwind CFIs (FDE or CIE).
cfi = reinterpret_cast<const uint32_t *>(&section.content[offset]);
size = read32(&section.content[offset], isBig) + 4;
if (offset+size > section.content.size()) {
return make_dynamic_error_code(Twine(Twine("Section ")