From 674ee88f6d5d64aff88cf691504a38efb3ff8001 Mon Sep 17 00:00:00 2001 From: peabody124 Date: Tue, 21 Sep 2010 22:53:08 +0000 Subject: [PATCH] More Q_UNUSED git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1714 ebee16cc-31ac-478f-84a7-5cbb03baadba --- ground/src/plugins/uavobjects/uavmetaobject.cpp | 1 + ground/src/plugins/uavtalk/telemetrymonitor.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ground/src/plugins/uavobjects/uavmetaobject.cpp b/ground/src/plugins/uavobjects/uavmetaobject.cpp index c01f206cd..54a5a7736 100644 --- a/ground/src/plugins/uavobjects/uavmetaobject.cpp +++ b/ground/src/plugins/uavobjects/uavmetaobject.cpp @@ -85,6 +85,7 @@ UAVObject* UAVMetaObject::getParentObject() */ void UAVMetaObject::setMetadata(const Metadata& mdata) { + Q_UNUSED(mdata); return; // can not update metaobject's metadata } diff --git a/ground/src/plugins/uavtalk/telemetrymonitor.cpp b/ground/src/plugins/uavtalk/telemetrymonitor.cpp index 94f325f6c..91733389d 100644 --- a/ground/src/plugins/uavtalk/telemetrymonitor.cpp +++ b/ground/src/plugins/uavtalk/telemetrymonitor.cpp @@ -133,6 +133,7 @@ void TelemetryMonitor::retrieveNextObject() */ void TelemetryMonitor::transactionCompleted(UAVObject* obj, bool success) { + Q_UNUSED(success); QMutexLocker locker(mutex); // Disconnect from sending object obj->disconnect(this); @@ -154,6 +155,7 @@ void TelemetryMonitor::transactionCompleted(UAVObject* obj, bool success) */ void TelemetryMonitor::flightStatsUpdated(UAVObject* obj) { + Q_UNUSED(obj); QMutexLocker locker(mutex); // Force update if not yet connected