Skip to content

Commit

Permalink
Silence warning in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Dec 3, 2018
1 parent cafa652 commit dcba255
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers/ogr/qgsgeopackagedataitems.cpp
Expand Up @@ -771,7 +771,9 @@ QList<QString> QgsGeoPackageAbstractLayerItem::tableNames()
);
sqlite3_free( sql );
if ( status != SQLITE_OK )
{
QgsDebugMsg( QStringLiteral( "There was an error reading tables from GPKG layer %1: %2" ).arg( mUri, QString::fromUtf8( errmsg ) ) );
}
sqlite3_free( errmsg );
}
else
Expand Down

0 comments on commit dcba255

Please sign in to comment.