rocr: delete duplicated conditional expression
Change-Id: Idc8b1a8ca2975f33191a448f03cabf3fc4f8f8a6
[ROCm/ROCR-Runtime commit: a82f2f3134]
Этот коммит содержится в:
коммит произвёл
David Yat Sin
родитель
17807d78bd
Коммит
ee1ff92026
@@ -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()); }
|
||||
|
||||
Ссылка в новой задаче
Block a user