From 7be8e9a18f1e348a611bef6f446865c37dd6014f Mon Sep 17 00:00:00 2001 From: Valeriy Van Date: Fri, 4 Sep 2020 15:38:33 +0200 Subject: [PATCH] Removes not used variable --- CoreFoundation/String.subproj/CFRegularExpression.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CoreFoundation/String.subproj/CFRegularExpression.c b/CoreFoundation/String.subproj/CFRegularExpression.c index 6c38c6ccce..4eb9f1a4a0 100644 --- a/CoreFoundation/String.subproj/CFRegularExpression.c +++ b/CoreFoundation/String.subproj/CFRegularExpression.c @@ -367,7 +367,7 @@ void _CFRegularExpressionEnumerateMatchesInString(_CFRegularExpressionRef regexO UniChar stackBuffer[STACK_BUFFER_SIZE]; void *bufferToFree = NULL, *utextToFree = NULL; struct regexCallBackContext context; - CFIndex offset, length = CFStringGetLength(string); + CFIndex offset; _CFRegularExpressionMatchingFlags flags; Boolean checkedOutRegex = true; Boolean stop = false;