Commit a5b47a26 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Remove unused var in kfts

parent ef08bab6
......@@ -292,7 +292,6 @@ static QString to_scored_fuzzy_matched_display_string(const QStringView pattern,
}
uint8_t matches[256];
bool matched = false;
int totalMatches = 0;
{
int score = 0;
......@@ -303,7 +302,7 @@ static QString to_scored_fuzzy_matched_display_string(const QStringView pattern,
const auto patternEnd = pattern.cend();
const auto strEnd = str.cend();
matched = fuzzy_internal::fuzzy_match_recursive(patternIt, strIt, score, strIt, strEnd, patternEnd, nullptr, matches, 0, totalMatches, recursionCount);
fuzzy_internal::fuzzy_match_recursive(patternIt, strIt, score, strIt, strEnd, patternEnd, nullptr, matches, 0, totalMatches, recursionCount);
}
int offset = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment