Skip to content
Permalink
Browse files
Fix unused exception warning on msvc
  • Loading branch information
nyalldawson committed Nov 4, 2021
1 parent f85d6c6 commit f4c7af16f34c6e0530b3729914b435c4d06b97fb
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/mesh/qgsmaptooleditmeshframe.cpp
@@ -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" ) );
}
@@ -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" ) );
}

0 comments on commit f4c7af1

Please sign in to comment.