Skip to content

Commit 6ae77ec

Browse files
author
Kyungwoo Lee
committed
Revert "[lld] Fix warnings"
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
1 parent 8a6a0f1 commit 6ae77ec

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lld/MachO/ObjC.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,6 @@ void ObjcCategoryMerger::parseProtocolListInfo(const ConcatInputSection *isec,
636636
/*extra null value*/ target->wordSize;
637637
assert(expectedListSize == ptrListSym->isec->data.size() &&
638638
"Protocol list does not match expected size");
639-
(void)expectedListSize;
640639

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

10351034
Defined *newCatDef = emitCategory(extInfo);
10361035
assert(newCatDef && "Failed to create a new category");
1037-
(void)newCatDef;
10381036

10391037
for (auto &catInfo : categories)
10401038
catInfo.wasMerged = true;

0 commit comments

Comments
 (0)