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