Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix unused exception warning on msvc
  • Loading branch information
nyalldawson committed Nov 4, 2021
1 parent f85d6c6 commit f4c7af1
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 f4c7af1

Please sign in to comment.