Addressed various warnings (#4414)

This commit is contained in:
Cœur
2022-12-22 04:21:16 +08:00
committed by GitHub
parent c74ac4f4ed
commit db802afc4f
33 changed files with 199 additions and 266 deletions

View File

@@ -16,9 +16,10 @@
{
NSIndexSet* indexes = self.selectedRowIndexes;
NSMutableArray* addresses = [NSMutableArray arrayWithCapacity:indexes.count];
[self.webSeeds enumerateObjectsAtIndexes:indexes options:0 usingBlock:^(NSDictionary* webSeed, NSUInteger idx, BOOL* stop) {
[addresses addObject:webSeed[@"Address"]];
}];
[self.webSeeds enumerateObjectsAtIndexes:indexes options:0
usingBlock:^(NSDictionary* webSeed, NSUInteger /*idx*/, BOOL* /*stop*/) {
[addresses addObject:webSeed[@"Address"]];
}];
NSString* text = [addresses componentsJoinedByString:@"\n"];