Skip to content
Snippets Groups Projects
Commit 3f8536af authored by Philippe Canal's avatar Philippe Canal
Browse files

silent 'unused param warning

git-svn-id: http://root.cern.ch/svn/root/trunk@33179 27541ba8-7e3a-0410-8455-c3a389f83636
parent 04074f3d
No related branches found
No related tags found
No related merge requests found
...@@ -328,12 +328,15 @@ Bool_t TPgSQLServer::HasStatement() const ...@@ -328,12 +328,15 @@ Bool_t TPgSQLServer::HasStatement() const
} }
//______________________________________________________________________________ //______________________________________________________________________________
#ifdef PG_VERSION_NUM
TSQLStatement* TPgSQLServer::Statement(const char *sql, Int_t) TSQLStatement* TPgSQLServer::Statement(const char *sql, Int_t)
#else
TSQLStatement* TPgSQLServer::Statement(const char *, Int_t)
#endif
{ {
// Produce TPgSQLStatement. // Produce TPgSQLStatement.
#ifdef PG_VERSION_NUM #ifdef PG_VERSION_NUM
if (!sql || !*sql) { if (!sql || !*sql) {
SetError(-1, "no query string specified","Statement"); SetError(-1, "no query string specified","Statement");
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment