From: Christian Couder Date: Fri, 07 Jun 2024 08:41:46 GMT Subject: Re: [GSoC][PATCH] t/: migrate helper/test-oidtree.c to unit-tests/t-oidtree.c Message-ID: In-Reply-To: On Fri, Jun 7, 2024 at 10:36 AM Christian Couder wrote: > > On Fri, Jun 7, 2024 at 10:31 AM Christian Couder > wrote: > > > > On Fri, Jun 7, 2024 at 1:35 AM Ghanshyam Thakkar > > wrote: > > > static void check_each(struct oidtree *ot, char *query, ...) > > > { > > > struct object_id oid; > > > struct strvec hexes = STRVEC_INIT; > > > struct cb_data cb_data; > > > const char *arg; > > > int i = 0; > > ... and above only: > > struct object_id oid; > const char *arg; > struct expected_hex_iter hex_iter = { 0 }; Actually I think it should be: struct expected_hex_iter hex_iter = { .hexes = STRVEC_INIT };