1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

LP-10 Fix unused parameter warnings

This commit is contained in:
Stefan Karlsson 2015-07-12 17:29:45 +02:00
parent 162dde2677
commit 1861ede9d7
2 changed files with 3 additions and 1 deletions

View File

@ -486,6 +486,8 @@ QString UrlFactory::MakeReverseGeocoderUrl(internals::PointLatLng &pt, const QSt
{
#ifdef DEBUG_URLFACTORY
qDebug() << "Language: " << language;
#else
(void)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,7 +98,7 @@ bool VehicleConfigurationHelper::setupHardwareSettings(bool save)
return result;
}
bool VehicleConfigurationHelper::isApplicable(UAVObject *dataObj)
bool VehicleConfigurationHelper::isApplicable(UAVObject * /* dataObj */)
{
return true;
}