From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) (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 7629D446444 for ; Thu, 12 Nov 2020 22:53:38 +0300 (MSK) Received: by mail-lf1-f67.google.com with SMTP id z21so10229956lfe.12 for ; Thu, 12 Nov 2020 11:53:38 -0800 (PST) From: Cyrill Gorcunov Date: Thu, 12 Nov 2020 22:51:21 +0300 Message-Id: <20201112195121.191366-12-gorcunov@gmail.com> In-Reply-To: <20201112195121.191366-1-gorcunov@gmail.com> References: <20201112195121.191366-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 11/11] raft: drop redundant argument List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml Cc: Vladislav Shpilevoy It is never used and placed here accidentally. Signed-off-by: Cyrill Gorcunov --- src/box/raft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/box/raft.c b/src/box/raft.c index ff664a4d1..3f175480c 100644 --- a/src/box/raft.c +++ b/src/box/raft.c @@ -772,7 +772,7 @@ raft_sm_schedule_new_term(struct raft *raft, uint64_t new_term) static void raft_sm_schedule_new_vote(struct raft *raft, uint32_t new_vote) { - say_info("RAFT: vote for %u, follow", new_vote, raft->volatile_term); + say_info("RAFT: vote for %u, follow", new_vote); assert(raft->volatile_vote == 0); assert(raft->leader == 0); assert(raft->state == RAFT_STATE_FOLLOWER); -- 2.26.2