summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-11-23 07:50:49 -0800
committerThiago Macieira <thiago.macieira@intel.com>2014-11-24 17:54:34 +0100
commit7e7d549d26028ff407a9a3d260955f95b403a406 (patch)
treeeebe9835419f3ecc5d6b168f42fbf2b4b134d98a
parent5fdccd50aed9ca08b728e776a0929463c4a7ff98 (diff)
downloadqttools-7e7d549d26028ff407a9a3d260955f95b403a406.tar.gz
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>
-rw-r--r--src/linguist/linguist/messageeditorwidgets.cpp5
-rw-r--r--src/linguist/lupdate/cpp.cpp1
2 files changed, 1 insertions, 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;