Navigation Menu

Skip to content

Commit

Permalink
Avoid some Coverity ignored return value warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 2, 2016
1 parent 17a9534 commit f2e8f2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/providers/wfs/qgswfsshareddata.cpp
Expand Up @@ -291,10 +291,10 @@ bool QgsWFSSharedData::createCache()
{
QString sql;

sqlite3_exec( db, "PRAGMA synchronous=OFF", nullptr, nullptr, nullptr );
sqlite3_exec( db, "PRAGMA journal_mode=MEMORY", nullptr, nullptr, nullptr );
( void )sqlite3_exec( db, "PRAGMA synchronous=OFF", nullptr, nullptr, nullptr );
( void )sqlite3_exec( db, "PRAGMA journal_mode=MEMORY", nullptr, nullptr, nullptr );

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

if ( !ogrWaySuccessfull )
{
Expand Down

0 comments on commit f2e8f2d

Please sign in to comment.