Skip to content
Permalink
Browse files

Fix some windows build warnings

  • Loading branch information
nyalldawson committed Nov 4, 2018
1 parent 5f2b78e commit efbc089a090a6a970fc02657988e18bf9bb73166
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/gui/qgssnaptogridcanvasitem.cpp
  2. +1 −1 src/providers/wms/qgswmsprovider.cpp
@@ -165,7 +165,7 @@ void QgsSnapToGridCanvasItem::updateZoomFactor()
else
mAvailableByZoomFactor = false;
}
catch ( QgsCsException &e )
catch ( QgsCsException & )
{
// transform errors?
// you've probably got worse problems than the grid with your digitizing operations in the current projection.
@@ -483,7 +483,7 @@ void QgsWmsProvider::setQueryItem( QUrl &url, const QString &item, const QString
{
url.removeQueryItem( item );
if ( value.isNull() )
url.addQueryItem( item, QStringLiteral( "" ) ); // skip-keyword-check
url.addQueryItem( item, "" );
else
url.addQueryItem( item, value );
}

0 comments on commit efbc089

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