[Tarantool-patches] [PATCH 2/4] qsync: txn_limbo_pop -- drop fake reference

Cyrill Gorcunov gorcunov at gmail.com
Fri Jul 10 16:53:34 MSK 2020


The limbo variable is accessed unconditionally
thus no need for fake reference.

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 src/box/txn_limbo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/box/txn_limbo.c b/src/box/txn_limbo.c
index 8a2676a2c..973ef96e8 100644
--- a/src/box/txn_limbo.c
+++ b/src/box/txn_limbo.c
@@ -91,7 +91,7 @@ txn_limbo_pop(struct txn_limbo *limbo, struct txn_limbo_entry *entry)
 	assert(!rlist_empty(&entry->in_queue));
 	assert(txn_limbo_last_entry(limbo) == entry);
 	assert(entry->is_rollback);
-	(void) limbo;
+
 	rlist_del_entry(entry, in_queue);
 	++limbo->rollback_count;
 }
-- 
2.26.2



More information about the Tarantool-patches mailing list