rocr: delete duplicated conditional expression

Change-Id: Idc8b1a8ca2975f33191a448f03cabf3fc4f8f8a6
Este commit está contenido en:
Min Zhou
2025-01-28 00:34:46 +00:00
cometido por David Yat Sin
padre 1d8a77db34
commit a82f2f3134
@@ -1456,7 +1456,7 @@ namespace elf {
}
for (size_t i = 1; i < sections.size(); ++i) {
if (i == ehdr.e_shstrndx || i == ehdr.e_shstrndx) { continue; }
if (i == ehdr.e_shstrndx) { continue; }
std::unique_ptr<GElfSection>& section = sections[i];
if (section->type() == SHT_STRTAB) { strtabSection = static_cast<GElfStringTable*>(section.get()); }
if (section->type() == SHT_SYMTAB) { symtabSection = static_cast<GElfSymbolTable*>(section.get()); }