diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-28 11:17:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-28 11:17:07 +0200 |
commit | 51529c4c62b00ea681f28b591fdcaa0c670da3d1 (patch) | |
tree | 99c9136e9e706b3fad61521e4d4be27988e3ae67 | |
parent | 1fc682941868f34300d35e2ff1c4372056a9d424 (diff) |
Mark parameter in create_schema as potentially unused
This can happen if more than one class is mapped to the same table.
-rw-r--r-- | odb/relational/source.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/odb/relational/source.hxx b/odb/relational/source.hxx index da66b11..7ecfda4 100644 --- a/odb/relational/source.hxx +++ b/odb/relational/source.hxx @@ -2344,7 +2344,9 @@ namespace relational { os << "void " << traits << "::" << endl << "create_schema (database& db)" - << "{"; + << "{" + << "ODB_POTENTIALLY_UNUSED (db);" + << endl; schema_drop_->traverse (c); schema_create_->traverse (c); |