Skip to content

Commit

Permalink
Fix some windows build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 4, 2018
1 parent 5f2b78e commit efbc089
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/qgssnaptogridcanvasitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/providers/wms/qgswmsprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
Expand Down

0 comments on commit efbc089

Please sign in to comment.