Skip to content
Permalink
Browse files

Fix some warnings

  • Loading branch information
nyalldawson committed Aug 31, 2020
1 parent 853f682 commit f14adbb047668159721cb5a813edb45620bd8ca1
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/analysis/processing/qgsalgorithmrastersampling.cpp
  2. +1 −1 src/core/qgsdataitem.cpp
@@ -151,7 +151,7 @@ QVariantMap QgsRasterSamplingAlgorithm::processAlgorithm( const QVariantMap &par
{
point = ct.transform( point );
}
catch ( const QgsException &e )
catch ( const QgsException & )
{
attributes += emptySampleAttributes;
outputFeature.setAttributes( attributes );
@@ -188,7 +188,7 @@ QgsVectorLayer *QgsFieldsItem::layer()
}
}
}
catch ( const QgsProviderConnectionException &ex )
catch ( const QgsProviderConnectionException & )
{
// This should never happen!
QgsDebugMsg( QStringLiteral( "Error getting connection from %1" ).arg( mConnectionUri ) );

0 comments on commit f14adbb

Please sign in to comment.
You can’t perform that action at this time.