[Tarantool-patches] [PATCH 1/4] qsync: txn_limbo_assign_local_lsn -- drop redundant declaration

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


We use limbo variable accounting acks so no need for
formal read here.

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 d85a3eff9..8a2676a2c 100644
--- a/src/box/txn_limbo.c
+++ b/src/box/txn_limbo.c
@@ -131,7 +131,7 @@ txn_limbo_assign_local_lsn(struct txn_limbo *limbo,
 	assert(entry->lsn == -1);
 	assert(lsn > 0);
 	assert(txn_has_flag(entry->txn, TXN_WAIT_ACK));
-	(void) limbo;
+
 	entry->lsn = lsn;
 	/*
 	 * The entry just got its LSN after a WAL write. It could
-- 
2.26.2



More information about the Tarantool-patches mailing list