diff --git a/src/Gui/Dialogs/DlgPreferencesImp.cpp b/src/Gui/Dialogs/DlgPreferencesImp.cpp index bf11f16ae5..66ff27056b 100644 --- a/src/Gui/Dialogs/DlgPreferencesImp.cpp +++ b/src/Gui/Dialogs/DlgPreferencesImp.cpp @@ -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 {