diff --git a/ground/openpilotgcs/src/libs/opmapcontrol/src/core/urlfactory.cpp b/ground/openpilotgcs/src/libs/opmapcontrol/src/core/urlfactory.cpp index 912e48c9e..f7f439417 100644 --- a/ground/openpilotgcs/src/libs/opmapcontrol/src/core/urlfactory.cpp +++ b/ground/openpilotgcs/src/libs/opmapcontrol/src/core/urlfactory.cpp @@ -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())); diff --git a/ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp b/ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp index 60e819579..0546152c4 100644 --- a/ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp +++ b/ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp @@ -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; }