From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) (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 020CA431780 for ; Sat, 15 Aug 2020 16:38:18 +0300 (MSK) Received: by mail-lj1-f196.google.com with SMTP id h19so12735471ljg.13 for ; Sat, 15 Aug 2020 06:38:18 -0700 (PDT) Date: Sat, 15 Aug 2020 16:38:16 +0300 From: Cyrill Gorcunov Message-ID: <20200815133816.GE2074@grain> References: <20200813221757.GB2074@grain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Tarantool-patches] [PATCH 1/1] xrow: introduce struct synchro_request List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Shpilevoy Cc: tarantool-patches@dev.tarantool.org On Sat, Aug 15, 2020 at 03:24:11PM +0200, Vladislav Shpilevoy wrote: > > Ok, done: > > ==================== > @@ -277,10 +277,11 @@ txn_limbo_write_synchro(struct txn_limbo *limbo, uint32_t type, int64_t lsn) > { > assert(lsn > 0); > > - struct synchro_request req; > - req.type = type; > - req.replica_id = limbo->instance_id; > - req.lsn = lsn; > + struct synchro_request req = { > + .type = type, > + .replica_id = limbo->instance_id, > + .lsn = lsn, > + }; > Ack. Thank you!