Skip to content

Commit f2e8f2d

Browse files
committed
Avoid some Coverity ignored return value warnings
1 parent 17a9534 commit f2e8f2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/providers/wfs/qgswfsshareddata.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,10 @@ bool QgsWFSSharedData::createCache()
291291
{
292292
QString sql;
293293

294-
sqlite3_exec( db, "PRAGMA synchronous=OFF", nullptr, nullptr, nullptr );
295-
sqlite3_exec( db, "PRAGMA journal_mode=MEMORY", nullptr, nullptr, nullptr );
294+
( void )sqlite3_exec( db, "PRAGMA synchronous=OFF", nullptr, nullptr, nullptr );
295+
( void )sqlite3_exec( db, "PRAGMA journal_mode=MEMORY", nullptr, nullptr, nullptr );
296296

297-
sqlite3_exec( db, "BEGIN", nullptr, nullptr, nullptr );
297+
( void )sqlite3_exec( db, "BEGIN", nullptr, nullptr, nullptr );
298298

299299
if ( !ogrWaySuccessfull )
300300
{

0 commit comments

Comments
 (0)