diff --git a/ground/src/libs/opmapcontrol/src/internals/projections/mercatorprojectionyandex.cpp b/ground/src/libs/opmapcontrol/src/internals/projections/mercatorprojectionyandex.cpp index c344b5c45..0a695308d 100644 --- a/ground/src/libs/opmapcontrol/src/internals/projections/mercatorprojectionyandex.cpp +++ b/ground/src/libs/opmapcontrol/src/internals/projections/mercatorprojectionyandex.cpp @@ -106,6 +106,7 @@ Size MercatorProjectionYandex::GetTileMatrixMaxXY(const int &zoom) Size MercatorProjectionYandex::GetTileMatrixMinXY(const int &zoom) { + Q_UNUSED(zoom); return Size(0, 0); } } diff --git a/ground/src/libs/opmapcontrol/src/mapwidget/uavitem.cpp b/ground/src/libs/opmapcontrol/src/mapwidget/uavitem.cpp index b3085f36e..94263474b 100644 --- a/ground/src/libs/opmapcontrol/src/mapwidget/uavitem.cpp +++ b/ground/src/libs/opmapcontrol/src/mapwidget/uavitem.cpp @@ -56,6 +56,8 @@ namespace mapcontrol void UAVItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) { + Q_UNUSED(option); + Q_UNUSED(widget); // painter->rotate(-90); painter->drawPixmap(-pic.width()/2,-pic.height()/2,pic); // painter->drawRect(QRectF(-pic.width()/2,-pic.height()/2,pic.width()-1,pic.height()-1));