On Fri, Jun 7, 2024 at 10:36 AM Christian Couder <christian.couder@xxxxxxxxx> wrote: > > On Fri, Jun 7, 2024 at 10:31 AM Christian Couder > <christian.couder@xxxxxxxxx> wrote: > > > > On Fri, Jun 7, 2024 at 1:35 AM Ghanshyam Thakkar > > <shyamthakkar001@xxxxxxxxx> 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 };