Skip to content
Permalink
Browse files

Avoid some Coverity ignored return value warnings

  • Loading branch information
nyalldawson committed May 2, 2016
1 parent 17a9534 commit f2e8f2df06269bd66c1743381e6137633b092ee5
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/providers/wfs/qgswfsshareddata.cpp
@@ -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 )
{

0 comments on commit f2e8f2d

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