From: Patrick Steinhardt Date: Wed, 07 Aug 2024 05:23:46 GMT Subject: Re: [PATCH 2/6] t: harmonize t-reftable-stack.c with coding guidelines Message-ID: In-Reply-To: <20240806142020.4615-3-chandrapratap3519@gmail.com> On Tue, Aug 06, 2024 at 07:43:38PM +0530, Chandra Pratap wrote: > @@ -433,18 +431,18 @@ static void t_reftable_stack_add(void) > }; > struct reftable_stack *st = NULL; > char *dir = get_tmp_dir(__LINE__); > - struct reftable_ref_record refs[2] = { { NULL } }; > - struct reftable_log_record logs[2] = { { NULL } }; > + struct reftable_ref_record refs[2] = { { 0 } }; > + struct reftable_log_record logs[2] = { { 0 } }; These should simply be `{ 0 }`, here and in a few other places further down. Patrick