summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/cppeditor/cpphighlighter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/cppeditor/cpphighlighter.cpp b/src/plugins/cppeditor/cpphighlighter.cpp
index 447f442d2b..a02d3fe090 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;