Skip to content

Commit 3e9c91f

Browse files
authored
Removes not used variable (swiftlang#2870)
1 parent 9423a70 commit 3e9c91f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

CoreFoundation/String.subproj/CFStringUtilities.c

-3
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ CF_PRIVATE CFComparisonResult _CFCompareStringsWithLocale(CFStringInlineBuffer *
583583
bool forcedOrdering = ((options & kCFCompareForcedOrdering) ? true : false);
584584

585585
UCollator *collator = NULL;
586-
bool defaultCollator = true;
587586
#endif
588587
static const uint8_t *alnumBMP = NULL;
589588
static const uint8_t *nonBaseBMP = NULL;
@@ -621,10 +620,8 @@ CF_PRIVATE CFComparisonResult _CFCompareStringsWithLocale(CFStringInlineBuffer *
621620
collator = threadCollator;
622621
} else {
623622
collator = __CFStringCopyDefaultCollator((CFLocaleRef)compareLocale);
624-
defaultCollator = true;
625623
if (NULL == collator) {
626624
collator = __CFStringCreateCollator((CFLocaleRef)compareLocale);
627-
defaultCollator = false;
628625
}
629626
}
630627
#endif

0 commit comments

Comments
 (0)