Skip to content
Permalink
Browse files
QgsWmsSettings::parseUri(): explicitly ignore return value of toInt()
  • Loading branch information
rouault authored and nyalldawson committed Jul 22, 2021
1 parent 1233c89 commit 4e0e9ff092b9366a991b80e3c1890e4443ac90b0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/wms/qgswmscapabilities.cpp
@@ -184,7 +184,7 @@ bool QgsWmsSettings::parseUri( const QString &uriString )
for ( const QString &opacity : opacities )
{
bool ok = false;
opacity.toInt( &ok );
( void )opacity.toInt( &ok );
if ( ok )
{
mOpacities.append( opacity );

0 comments on commit 4e0e9ff

Please sign in to comment.