Skip to content

Commit a9bf8d5

Browse files
authored
Removes not used variable (swiftlang#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

+1-1
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)