Gui: Remove unused variable from fuzzyMatch()
This commit is contained in:
committed by
Chris Hennes
parent
fc72817079
commit
2e9ad3aaf7
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user