summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-09-28 01:51:01 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-09-28 02:11:25 (GMT)
commite15561e88b6105f324e816add50bcde9a9a107d8 (patch)
treec87ea9795365f944c451446a903e690a68150800 /src/plugins
parentf532d8fcd236be9933e4186a95561e1c264de277 (diff)
downloadQt-e15561e88b6105f324e816add50bcde9a9a107d8.zip
Qt-e15561e88b6105f324e816add50bcde9a9a107d8.tar.gz
Qt-e15561e88b6105f324e816add50bcde9a9a107d8.tar.bz2
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 6138e7b..322bac0 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 eb093fe..4f879e3 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;