Skip to content

Commit

Permalink
Fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 27, 2015
1 parent 19df43f commit c246fd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers/postgres/qgspostgresconnpool.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ inline void qgsConnectionPool_ConnectionDestroy( QgsPostgresConn* c )

inline void qgsConnectionPool_InvalidateConnection( QgsPostgresConn* c )
{
Q_UNUSED( c );
}

inline bool qgsConnectionPool_ConnectionIsValid( QgsPostgresConn* c )
{
Q_UNUSED( c );
return true;
}

Expand Down
2 changes: 2 additions & 0 deletions src/providers/spatialite/qgsspatialiteconnpool.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ inline void qgsConnectionPool_ConnectionDestroy( QgsSqliteHandle* c )

inline void qgsConnectionPool_InvalidateConnection( QgsSqliteHandle* c )
{
Q_UNUSED( c );
}

inline bool qgsConnectionPool_ConnectionIsValid( QgsSqliteHandle* c )
{
Q_UNUSED( c );
return true;
}

Expand Down

0 comments on commit c246fd8

Please sign in to comment.