File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
CoreFoundation/String.subproj Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments