diff mbox

[ovs-dev,branch-2.3,2/2] ovsdb: Fix compilation of ovsdb/transaction.c.

Message ID 1442011646-50005-2-git-send-email-joestringer@nicira.com
State Accepted
Headers show

Commit Message

Joe Stringer Sept. 11, 2015, 10:47 p.m. UTC
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 <joestringer@nicira.com>
---
 ovsdb/transaction.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

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);