File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -639,6 +639,9 @@ void ObjcCategoryMerger::parseProtocolListInfo(const ConcatInputSection *isec,
639
639
assert (expectedListSize == ptrListSym->isec ->data .size () &&
640
640
" Protocol list does not match expected size" );
641
641
642
+ // Suppress unsuded var warning
643
+ (void )expectedListSize;
644
+
642
645
uint32_t off = protocolListHeaderLayout.totalSize ;
643
646
for (uint32_t inx = 0 ; inx < protocolCount; ++inx) {
644
647
const Reloc *reloc = ptrListSym->isec ->getRelocAt (off);
@@ -1036,6 +1039,9 @@ void ObjcCategoryMerger::mergeCategoriesIntoSingleCategory(
1036
1039
Defined *newCatDef = emitCategory (extInfo);
1037
1040
assert (newCatDef && " Failed to create a new category" );
1038
1041
1042
+ // Suppress unsuded var warning
1043
+ (void )newCatDef;
1044
+
1039
1045
for (auto &catInfo : categories)
1040
1046
catInfo.wasMerged = true ;
1041
1047
}
You can’t perform that action at this time.
0 commit comments