We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71cceb1 commit 2e8f89fCopy full SHA for 2e8f89f
llvm/lib/Object/GOFFObjectFile.cpp
@@ -564,8 +564,7 @@ section_iterator GOFFObjectFile::section_end() const {
564
565
void GOFFObjectFile::moveSymbolNext(DataRefImpl &Symb) const {
566
for (uint32_t I = Symb.d.a + 1, E = EsdPtrs.size(); I < E; ++I) {
567
- if (EsdPtrs[I]) {
568
- const uint8_t *EsdRecord = EsdPtrs[I];
+ if (const uint8_t *EsdRecord = EsdPtrs[I]) {
569
GOFF::ESDSymbolType SymbolType;
570
ESDRecord::getSymbolType(EsdRecord, SymbolType);
571
// Skip EDs - i.e. section symbols.
0 commit comments