Skip to content
Permalink
Browse files
Fix unused exception warning on msvc
  • Loading branch information
nyalldawson authored and github-actions committed Nov 3, 2021
1 parent 4a80008 commit 9d461d637bb02c05df075111171178e76d201a08
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 9d461d6

Please sign in to comment.