1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-31 16:52:10 +01:00

LP-10 Use Q_UNUSED for unused parameters

This commit is contained in:
Stefan Karlsson 2015-07-13 12:50:40 +02:00
parent c5ed56226d
commit f3b091ebc9
2 changed files with 3 additions and 2 deletions

View File

@ -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()));

View File

@ -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;
}