Skip to content

Commit

Permalink
Fix unused exception warning on msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 3, 2021
1 parent 774e2fd commit efe919d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/mesh/qgsmaptooleditmeshframe.cpp
Expand Up @@ -732,7 +732,7 @@ static QList<QgsMapToolIdentify::IdentifyResult> searchFeatureOnMap( QgsMapMouse
{
rect = transform.transformBoundingBox( rect, Qgis::TransformDirection::Reverse );
}
catch ( QgsCsException &exception )
catch ( QgsCsException & )
{
QgsDebugMsg( QStringLiteral( "Could not transform geometry to layer CRS" ) );
}
Expand Down Expand Up @@ -772,7 +772,7 @@ void QgsMapToolEditMeshFrame::forceByLineBySelectedFeature( QgsMapMouseEvent *e
{
geom.transform( transform );
}
catch ( QgsCsException &exception )
catch ( QgsCsException & )
{
QgsDebugMsg( QStringLiteral( "Could not transform geometry to layer CRS" ) );
}
Expand Down

0 comments on commit efe919d

Please sign in to comment.