From 9bbba72939248388dfc832a5bf20cb9539ab0675 Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Mon, 14 Jul 2014 17:13:34 +0200 Subject: Supress unused parameter warnings --- daemon/notificationmanager.cpp | 8 +++++++- daemon/watchcommands.cpp | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'daemon') 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: -- cgit v1.2.3