mirror of
https://github.com/samsonjs/arq_restore.git
synced 2026-03-31 10:15:53 +00:00
removed extra parentheses
This commit is contained in:
parent
1643016d65
commit
13129646d5
1 changed files with 1 additions and 1 deletions
|
|
@ -426,7 +426,7 @@ static RKLCacheSlot *getCachedRegexSetToString(NSString *regexString, RKLRegexOp
|
|||
else { // If the first pointer equality check failed, check the hash and length.
|
||||
if(((isSetTo == NO) || (cacheSlot->setToIsImmutable == NO)) && (cacheSlot->setToString != NULL)) { isSetTo = ((cacheSlot->setToLength == matchLength) && (cacheSlot->setToHash == CFHash((CFStringRef)(matchString)))); }
|
||||
|
||||
if((isSetTo == YES)) { // Make sure that the UTF16 conversion cache is set to this string, if conversion is required.
|
||||
if(isSetTo == YES) { // Make sure that the UTF16 conversion cache is set to this string, if conversion is required.
|
||||
if((cacheSlot->setToNeedsConversion == YES) && (setCacheSlotToString(cacheSlot, matchRange, status, exception) == NO)) { *exception = RKLCAssert(@"Failed to set up UTF16 buffer."); goto exitNow; }
|
||||
if(NSEqualRanges(cacheSlot->setToRange, *matchRange) == YES) { goto exitNow; } // Verify that the range to search is what the cached regex was prepped for last time.
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue