> On 11 Jul 2023, at 01:09, Nathan Bossart <nathandboss...@gmail.com> wrote:
> On Mon, Jul 10, 2023 at 04:43:23PM +0200, Daniel Gustafsson wrote:

>>> +static int n_data_types_usage_checks = 7;
>>> 
>>> Can we determine this programmatically so that folks don't need to remember
>>> to update it?
>> 
>> Fair point, I've added a counter loop to the beginning of the check function 
>> to
>> calculate it.
> 
> +     /* Gather number of checks to perform */
> +     while (tmp->status != NULL)
> +             n_data_types_usage_checks++;
> 
> I think we need to tmp++ somewhere here.

Yuk, yes, will fix when caffeinated. Thanks.

--
Daniel Gustafsson



Reply via email to