mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-30 15:52:12 +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
|
||||
qDebug() << "Language: " << language;
|
||||
#else
|
||||
(void)language;
|
||||
Q_UNUSED(language);
|
||||
#endif
|
||||
// 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()));
|
||||
|
@ -98,8 +98,9 @@ bool VehicleConfigurationHelper::setupHardwareSettings(bool save)
|
||||
return result;
|
||||
}
|
||||
|
||||
bool VehicleConfigurationHelper::isApplicable(UAVObject * /* dataObj */)
|
||||
bool VehicleConfigurationHelper::isApplicable(UAVObject *dataObj)
|
||||
{
|
||||
Q_UNUSED(dataObj);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user