diff --git a/src/plugins/cppeditor/cpphighlighter.cpp b/src/plugins/cppeditor/cpphighlighter.cpp index 447f442d2b3d6c2ff265a90752ec26e55d52ae99..a02d3fe090020c1d33fab77869c11954c5d879d2 100644 --- a/src/plugins/cppeditor/cpphighlighter.cpp +++ b/src/plugins/cppeditor/cpphighlighter.cpp @@ -322,11 +322,9 @@ void CppHighlighter::highlightWord(QStringRef word, int position, int length) } } -void CppHighlighter::highlightDoxygenComment(const QString &text, int position, - int length) +void CppHighlighter::highlightDoxygenComment(const QString &text, int position, int) { int initial = position; - int i = position; const QChar *uc = text.unicode(); const QChar *it = uc + position;