mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-28 17:54:15 +01:00
LP-10 Use Q_UNUSED for unused parameters
This commit is contained in:
parent
c5ed56226d
commit
f3b091ebc9
@ -487,7 +487,7 @@ QString UrlFactory::MakeReverseGeocoderUrl(internals::PointLatLng &pt, const QSt
|
|||||||
#ifdef DEBUG_URLFACTORY
|
#ifdef DEBUG_URLFACTORY
|
||||||
qDebug() << "Language: " << language;
|
qDebug() << "Language: " << language;
|
||||||
#else
|
#else
|
||||||
(void)language;
|
Q_UNUSED(language);
|
||||||
#endif
|
#endif
|
||||||
// CSV output has been depreciated. API key is no longer needed.
|
// CSV output has been depreciated. API key is no longer needed.
|
||||||
return QString("http://maps.googleapis.com/maps/api/geocode/xml?latlng=%1,%2").arg(QString::number(pt.Lat())).arg(QString::number(pt.Lng()));
|
return QString("http://maps.googleapis.com/maps/api/geocode/xml?latlng=%1,%2").arg(QString::number(pt.Lat())).arg(QString::number(pt.Lng()));
|
||||||
|
@ -98,8 +98,9 @@ bool VehicleConfigurationHelper::setupHardwareSettings(bool save)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool VehicleConfigurationHelper::isApplicable(UAVObject * /* dataObj */)
|
bool VehicleConfigurationHelper::isApplicable(UAVObject *dataObj)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(dataObj);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user