summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2014-07-14 17:13:34 +0200
committerTomasz Sterna <tomek@xiaoka.com>2014-07-14 17:13:34 +0200
commit9bbba72939248388dfc832a5bf20cb9539ab0675 (patch)
treec9c919a74aeff32335175df457c3e9e098306e5f
parent648e0cc8e5ebac749554dd4b037a0d200f577c5f (diff)
Supress unused parameter warnings
-rw-r--r--daemon/notificationmanager.cpp8
-rw-r--r--daemon/watchcommands.cpp2
2 files changed, 9 insertions, 1 deletions
diff --git a/daemon/notificationmanager.cpp b/daemon/notificationmanager.cpp
index 917a245..17e98bc 100644
--- a/daemon/notificationmanager.cpp
+++ b/daemon/notificationmanager.cpp
@@ -104,7 +104,13 @@ QStringHash NotificationManager::getCategoryParams(QString category)
return QStringHash();
}
-void NotificationManager::Notify(const QString &app_name, uint replaces_id, const QString &app_icon, const QString &summary, const QString &body, const QStringList &actions, const QVariantHash &hints, int expire_timeout) {
+void NotificationManager::Notify(const QString &app_name, uint replaces_id, const QString &app_icon,
+ const QString &summary, const QString &body, const QStringList &actions, const QVariantHash &hints, int expire_timeout)
+{
+ Q_UNUSED(replaces_id);
+ Q_UNUSED(app_icon);
+ Q_UNUSED(actions);
+ Q_UNUSED(expire_timeout);
//Ignore notifcations from myself
if (app_name == "pebbled") {
diff --git a/daemon/watchcommands.cpp b/daemon/watchcommands.cpp
index 7fc84fc..1df811a 100644
--- a/daemon/watchcommands.cpp
+++ b/daemon/watchcommands.cpp
@@ -8,6 +8,8 @@ WatchCommands::WatchCommands(WatchConnector *watch, QObject *parent) :
void WatchCommands::processMessage(uint endpoint, uint datalen, QByteArray data)
{
+ Q_UNUSED(datalen);
+
logger()->debug() << __FUNCTION__ << endpoint << "/" << data.length();
switch (endpoint) {
case WatchConnector::watchPHONE_VERSION: