From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 1C1EF445320 for ; Fri, 10 Jul 2020 16:53:51 +0300 (MSK) Received: by mail-lj1-f193.google.com with SMTP id e8so6572227ljb.0 for ; Fri, 10 Jul 2020 06:53:51 -0700 (PDT) From: Cyrill Gorcunov Date: Fri, 10 Jul 2020 16:53:33 +0300 Message-Id: <20200710135336.259208-2-gorcunov@gmail.com> In-Reply-To: <20200710135336.259208-1-gorcunov@gmail.com> References: <20200710135336.259208-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 1/4] qsync: txn_limbo_assign_local_lsn -- drop redundant declaration List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml Cc: Vladislav Shpilevoy We use limbo variable accounting acks so no need for formal read here. Signed-off-by: Cyrill Gorcunov --- 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