From 5bf1f27e20ee72472066664a1a3765ad62416f12 Mon Sep 17 00:00:00 2001
From: Roberto Raggi <roberto.raggi@nokia.com>
Date: Fri, 20 Feb 2009 11:53:32 +0100
Subject: [PATCH] kill some warnings

---
 src/plugins/cppeditor/cpphighlighter.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/plugins/cppeditor/cpphighlighter.cpp b/src/plugins/cppeditor/cpphighlighter.cpp
index 447f442d2b3..a02d3fe0900 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;
-- 
GitLab