diff --git a/src/jrd/SimilarToMatcher.h b/src/jrd/SimilarToMatcher.h index 621e12e815..fe121f5731 100644 --- a/src/jrd/SimilarToMatcher.h +++ b/src/jrd/SimilarToMatcher.h @@ -793,7 +793,7 @@ void SimilarToMatcher::Evaluator::parsePrimary(int* flag &rangeBuffer[previousRangeBufferCount + 1], len, c) <= 0) { rangeBuffer.push(len); - size_t rangeCount = rangeBuffer.getCount(); + rangeCount = rangeBuffer.getCount(); memcpy(rangeBuffer.getBuffer(rangeCount + len) + rangeCount, &c, len); charsBuffer.push(*patternPos);