Gui: Remove unused variable from fuzzyMatch()

This commit is contained in:
Chris Hennes
2025-08-09 10:56:04 -05:00
committed by Chris Hennes
parent fc72817079
commit 2e9ad3aaf7

View File

@@ -1722,7 +1722,6 @@ bool PreferencesSearchController::fuzzyMatch(const QString& searchText, const QS
int targetIndex = 0;
int consecutiveMatches = 0;
int maxConsecutive = 0;
int totalMatches = 0;
int firstMatchIndex = -1;
int lastMatchIndex = -1;
@@ -1733,7 +1732,6 @@ bool PreferencesSearchController::fuzzyMatch(const QString& searchText, const QS
}
lastMatchIndex = targetIndex;
searchIndex++;
totalMatches++;
consecutiveMatches++;
maxConsecutive = qMax(maxConsecutive, consecutiveMatches);
} else {