summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-09-28 11:51:01 +1000
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-09-28 12:11:25 +1000
commite15561e88b6105f324e816add50bcde9a9a107d8 (patch)
treec87ea9795365f944c451446a903e690a68150800 /src/plugins
parentf532d8fcd236be9933e4186a95561e1c264de277 (diff)
downloadqt4-tools-e15561e88b6105f324e816add50bcde9a9a107d8.tar.gz
Fix compile warnings (unused variables).
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/bearer/icd/iapmonitor.cpp6
-rw-r--r--src/plugins/bearer/icd/maemo_icd.cpp4
2 files changed, 9 insertions, 1 deletions
diff --git a/src/plugins/bearer/icd/iapmonitor.cpp b/src/plugins/bearer/icd/iapmonitor.cpp
index 6138e7b1bb..322bac0a29 100644
--- a/src/plugins/bearer/icd/iapmonitor.cpp
+++ b/src/plugins/bearer/icd/iapmonitor.cpp
@@ -93,7 +93,9 @@ void conn_settings_notify_func (ConnSettingsType type,
const char *key,
ConnSettingsValue *value,
void *user_data)
-{
+{
+ Q_UNUSED(id);
+
if (type != CONN_SETTINGS_CONNECTION) return;
IAPMonitorPrivate *priv = (IAPMonitorPrivate *)user_data;
@@ -119,11 +121,13 @@ IAPMonitor::~IAPMonitor()
void IAPMonitor::iapAdded(const QString &id)
{
+ Q_UNUSED(id);
// By default do nothing
}
void IAPMonitor::iapRemoved(const QString &id)
{
+ Q_UNUSED(id);
// By default do nothing
}
diff --git a/src/plugins/bearer/icd/maemo_icd.cpp b/src/plugins/bearer/icd/maemo_icd.cpp
index eb093fe294..4f879e34c8 100644
--- a/src/plugins/bearer/icd/maemo_icd.cpp
+++ b/src/plugins/bearer/icd/maemo_icd.cpp
@@ -91,6 +91,8 @@ public:
IcdPrivate(unsigned int timeout, IcdDbusInterfaceVer ver, Icd *myfriend)
{
+ Q_UNUSED(ver);
+
/* Note that the old Icd interface is currently disabled and
* the new one is always used.
*/
@@ -274,6 +276,8 @@ QStringList IcdPrivate::scan(icd_scan_request_flags flags,
QList<IcdScanResult>& scan_results,
QString& error)
{
+ Q_UNUSED(network_types);
+
QStringList scanned_types;
QTimer timer;
QVariant reply;