The branch-2.3 backport of master commit eac0dc83c468 missed some
changes required to build on the older codebase. Fix the issue.

Fixes: b2235a2f4d4c ("ovsdb: Update _version more accurately in
transaction commit.")
Signed-off-by: Joe Stringer <joestrin...@nicira.com>
---
 ovsdb/transaction.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ovsdb/transaction.c b/ovsdb/transaction.c
index 18ff12b..8e64f79 100644
--- a/ovsdb/transaction.c
+++ b/ovsdb/transaction.c
@@ -746,8 +746,8 @@ check_index_uniqueness(struct ovsdb_txn *txn OVS_UNUSED,
     return NULL;
 }
 
-static struct ovsdb_error * OVS_WARN_UNUSED_RESULT
-update_version(struct ovsdb_txn *txn, struct ovsdb_txn_row *txn_row)
+static struct ovsdb_error * WARN_UNUSED_RESULT
+update_version(struct ovsdb_txn *txn OVS_UNUSED, struct ovsdb_txn_row *txn_row)
 {
     struct ovsdb_table *table = txn_row->table;
     size_t n_columns = shash_count(&table->schema->columns);
-- 
2.1.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to