From: Patrick Steinhardt Date: Mon, 26 Aug 2024 06:39:08 GMT Subject: Re: [PATCH v2 2/6] t: harmonize t-reftable-stack.c with coding guidelines Message-ID: In-Reply-To: <20240823120514.11070-3-chandrapratap3519@gmail.com> On Fri, Aug 23, 2024 at 05:18:47PM +0530, Chandra Pratap wrote: > @@ -1039,10 +1035,8 @@ static void t_reftable_stack_compaction_concurrent(void) > static void unclean_stack_close(struct reftable_stack *st) > { > /* break abstraction boundary to simulate unclean shutdown. */ > - int i = 0; > - for (; i < st->readers_len; i++) { > + for (int i = 0; i < st->readers_len; i++) Nit: this should likely be `size_t i`. Not worth a reroll on its own though. Patrick