1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

[macho2yaml] Remove an unused variable. NFC.

This commit is contained in:
Xing GUO 2020-08-13 11:13:04 +08:00
parent 9b5efb57d0
commit a3c52b27f2

View File

@ -179,7 +179,6 @@ Expected<const char *> MachODumper::extractSections(
if (Expected<MachOYAML::Section> S =
constructSection(Sec, Sections.size() + 1)) {
StringRef SecName(S->sectname);
DWARFYAML::Data DWARF;
if (SecName.startswith("__debug_")) {
// If the DWARF section cannot be successfully parsed, emit raw content
// instead of an entry in the DWARF section of the YAML.