Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a9bf8d5

Browse files
authoredSep 13, 2022
Removes not used variable (#2871)
1 parent fed1cc3 commit a9bf8d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎CoreFoundation/String.subproj/CFRegularExpression.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ void _CFRegularExpressionEnumerateMatchesInString(_CFRegularExpressionRef regexO
367367
UniChar stackBuffer[STACK_BUFFER_SIZE];
368368
void *bufferToFree = NULL, *utextToFree = NULL;
369369
struct regexCallBackContext context;
370-
CFIndex offset, length = CFStringGetLength(string);
370+
CFIndex offset;
371371
_CFRegularExpressionMatchingFlags flags;
372372
Boolean checkedOutRegex = true;
373373
Boolean stop = false;

0 commit comments

Comments
 (0)
Please sign in to comment.