From 7e7d549d26028ff407a9a3d260955f95b403a406 Mon Sep 17 00:00:00 2001
From: Thiago Macieira <thiago.macieira@intel.com>
Date: Sun, 23 Nov 2014 07:50:49 -0800
Subject: [PATCH] Remove unused private members

Found by Clang 3.6:
messageeditorwidgets.cpp:250:14: warning: private field 'm_wrapee' is not used [-Wunused-private-field]
cpp.cpp:309:15: warning: private field 'yyInteger' is not used [-Wunused-private-field]

Change-Id: Ice6aa515123b1ac375816271362772d50b9b8f27
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
---
 src/linguist/linguist/messageeditorwidgets.cpp | 5 +----
 src/linguist/lupdate/cpp.cpp                   | 1 -
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/linguist/linguist/messageeditorwidgets.cpp b/src/linguist/linguist/messageeditorwidgets.cpp
index 420d781d7..4682e0a6c 100644
--- a/src/linguist/linguist/messageeditorwidgets.cpp
+++ b/src/linguist/linguist/messageeditorwidgets.cpp
@@ -226,7 +226,7 @@ class ButtonWrapper : public QWidget
     // no Q_OBJECT: no need to, and don't want the useless moc file
 
 public:
-    ButtonWrapper(QWidget *wrapee, QWidget *relator) : m_wrapee(wrapee)
+    ButtonWrapper(QWidget *wrapee, QWidget *relator)
     {
         QBoxLayout *box = new QVBoxLayout;
         box->setMargin(0);
@@ -245,9 +245,6 @@ protected:
         }
         return false;
     }
-
-private:
-    QWidget *m_wrapee;
 };
 
 FormMultiWidget::FormMultiWidget(const QString &label, QWidget *parent)
diff --git a/src/linguist/lupdate/cpp.cpp b/src/linguist/lupdate/cpp.cpp
index cda23b6bd..b8bb1e859 100644
--- a/src/linguist/lupdate/cpp.cpp
+++ b/src/linguist/lupdate/cpp.cpp
@@ -306,7 +306,6 @@ private:
     int yyCh;
     bool yyAtNewline;
     QString yyWord;
-    qlonglong yyInteger;
     QStack<IfdefState> yyIfdefStack;
     int yyBracketDepth;
     int yyBraceDepth;
-- 
GitLab