Skip to content

Commit

Permalink
Revert "[lld] Fix warnings"
Browse files Browse the repository at this point in the history
This reverts commit 6800f42 as the part of revert #82928.

buildbot failures: https://lab.llvm.org/buildbot/#/builders/168/builds/19302/steps/10/logs/stdio
  • Loading branch information
Kyungwoo Lee committed Mar 19, 2024
1 parent 8a6a0f1 commit 6ae77ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lld/MachO/ObjC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,6 @@ void ObjcCategoryMerger::parseProtocolListInfo(const ConcatInputSection *isec,
/*extra null value*/ target->wordSize;
assert(expectedListSize == ptrListSym->isec->data.size() &&
"Protocol list does not match expected size");
(void)expectedListSize;

uint32_t off = protocolListHeaderLayout.totalSize;
for (uint32_t inx = 0; inx < protocolCount; ++inx) {
Expand Down Expand Up @@ -1034,7 +1033,6 @@ void ObjcCategoryMerger::mergeCategoriesIntoSingleCategory(

Defined *newCatDef = emitCategory(extInfo);
assert(newCatDef && "Failed to create a new category");
(void)newCatDef;

for (auto &catInfo : categories)
catInfo.wasMerged = true;
Expand Down

0 comments on commit 6ae77ec

Please sign in to comment.