mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +01:00
More Q_UNUSED
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1714 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
b376350bc2
commit
674ee88f6d
@ -85,6 +85,7 @@ UAVObject* UAVMetaObject::getParentObject()
|
|||||||
*/
|
*/
|
||||||
void UAVMetaObject::setMetadata(const Metadata& mdata)
|
void UAVMetaObject::setMetadata(const Metadata& mdata)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(mdata);
|
||||||
return; // can not update metaobject's metadata
|
return; // can not update metaobject's metadata
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -133,6 +133,7 @@ void TelemetryMonitor::retrieveNextObject()
|
|||||||
*/
|
*/
|
||||||
void TelemetryMonitor::transactionCompleted(UAVObject* obj, bool success)
|
void TelemetryMonitor::transactionCompleted(UAVObject* obj, bool success)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(success);
|
||||||
QMutexLocker locker(mutex);
|
QMutexLocker locker(mutex);
|
||||||
// Disconnect from sending object
|
// Disconnect from sending object
|
||||||
obj->disconnect(this);
|
obj->disconnect(this);
|
||||||
@ -154,6 +155,7 @@ void TelemetryMonitor::transactionCompleted(UAVObject* obj, bool success)
|
|||||||
*/
|
*/
|
||||||
void TelemetryMonitor::flightStatsUpdated(UAVObject* obj)
|
void TelemetryMonitor::flightStatsUpdated(UAVObject* obj)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(obj);
|
||||||
QMutexLocker locker(mutex);
|
QMutexLocker locker(mutex);
|
||||||
|
|
||||||
// Force update if not yet connected
|
// Force update if not yet connected
|
||||||
|
Loading…
Reference in New Issue
Block a user