From 51529c4c62b00ea681f28b591fdcaa0c670da3d1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 28 Mar 2011 11:17:07 +0200 Subject: Mark parameter in create_schema as potentially unused This can happen if more than one class is mapped to the same table. --- odb/relational/source.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v1.1