Skip to content

Commit

Permalink
Fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 31, 2020
1 parent 853f682 commit f14adbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/analysis/processing/qgsalgorithmrastersampling.cpp
Expand Up @@ -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 );
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsdataitem.cpp
Expand Up @@ -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 ) );
Expand Down

0 comments on commit f14adbb

Please sign in to comment.