[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [ktp-common-internals/kde-telepathy-0.7] /: Silence 'unused parameter' warnings
From:       Dan_Vrátil <dvratil () redhat ! com>
Date:       2013-11-01 12:08:16
Message-ID: E1VcDWS-0005d2-ME () scm ! kde ! org
[Download RAW message or body]

Git commit 903bd8b650855d91c80353aaf9261aa0dd268bd8 by Dan Vrátil.
Committed on 01/11/2013 at 12:07.
Pushed by dvratil into branch 'kde-telepathy-0.7'.

Silence 'unused parameter' warnings

M  +2    -0    KTp/im-persons-data-source.cpp
M  +1    -0    kpeople/actionsplugin/kpeople-actions-plugin.cpp

http://commits.kde.org/telepathy-common-internals/903bd8b650855d91c80353aaf9261aa0dd268bd8


diff --git a/KTp/im-persons-data-source.cpp b/KTp/im-persons-data-source.cpp
index f81781c..49b9045 100644
--- a/KTp/im-persons-data-source.cpp
+++ b/KTp/im-persons-data-source.cpp
@@ -84,6 +84,8 @@ IMPersonsDataSource::IMPersonsDataSource(QObject *parent, const \
QVariantList &da  : BasePersonsDataSource(parent)
     , d(new Private)
 {
+    Q_UNUSED(data);
+
     d->q = this;
     Tp::registerTypes();
 
diff --git a/kpeople/actionsplugin/kpeople-actions-plugin.cpp \
b/kpeople/actionsplugin/kpeople-actions-plugin.cpp index 72796db..f98c57e 100644
--- a/kpeople/actionsplugin/kpeople-actions-plugin.cpp
+++ b/kpeople/actionsplugin/kpeople-actions-plugin.cpp
@@ -104,6 +104,7 @@ QUrl IMAction::uri() const
 KPeopleActionsPlugin::KPeopleActionsPlugin(QObject* parent, const QVariantList \
&args):  AbstractPersonPlugin(parent)
 {
+    Q_UNUSED(args);
 }
 
 QList<QAction*> KPeopleActionsPlugin::actionsForPerson(const KPeople::PersonDataPtr \
&personData, QObject *parent)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic