Skip to content
Permalink
Browse files

Avoid some Coverity return value warnings

  • Loading branch information
nyalldawson committed Apr 26, 2016
1 parent 989ec2c commit 250f6578d99c4bc4fdbbd10340477db7064e625f
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/providers/wfs/qgswfsfeatureiterator.cpp
  2. +1 −1 src/providers/wfs/qgswfsshareddata.cpp
@@ -202,7 +202,7 @@ QUrl QgsWFSFeatureDownloader::buildURL( int startIndex, int maxFeatures, bool fo
bboxNode = bboxElem.removeChild( bboxNode );

QDomDocument filterDoc;
filterDoc.setContent( mWFSFilter, true );
( void )filterDoc.setContent( mWFSFilter, true );
QDomNode filterNode = filterDoc.firstChildElement().firstChildElement();
filterNode = filterDoc.firstChildElement().removeChild( filterNode );

@@ -334,7 +334,7 @@ bool QgsWFSSharedData::createCache()
if ( rc != SQLITE_OK )
ret = false;

sqlite3_exec( db, "COMMIT", nullptr, nullptr, nullptr );
( void )sqlite3_exec( db, "COMMIT", nullptr, nullptr, nullptr );

QgsSLConnect::sqlite3_close( db );
}

0 comments on commit 250f657

Please sign in to comment.