Subject: Re: [PATCH 2/6] t: harmonize t-reftable-stack.c with coding guidelines

From: Patrick Steinhardt <[email-masked]>
Date: Wed, 7 Aug 2024 07:23:46 +0200

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