diff options
Diffstat (limited to 'libodb-pgsql/odb/pgsql/statement.cxx')
-rw-r--r-- | libodb-pgsql/odb/pgsql/statement.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libodb-pgsql/odb/pgsql/statement.cxx b/libodb-pgsql/odb/pgsql/statement.cxx index 8574c37..03d58cd 100644 --- a/libodb-pgsql/odb/pgsql/statement.cxx +++ b/libodb-pgsql/odb/pgsql/statement.cxx @@ -24,6 +24,8 @@ #include <odb/tracer.hxx> +#include <odb/details/unused.hxx> + #include <odb/pgsql/pgsql-oid.hxx> #include <odb/pgsql/statement.hxx> #include <odb/pgsql/exceptions.hxx> @@ -871,6 +873,7 @@ namespace odb // { PGresult* end (PQgetResult (ch)); + ODB_POTENTIALLY_UNUSED (end); assert (end == 0); } } |