On Tue, Aug 6, 2024 at 10:21 AM Chandra Pratap <chandrapratap3519@xxxxxxxxx> wrote: > Harmonize the newly ported test unit-tests/t-reftable-stack.c > with the following guidelines: > - Single line 'for' statements must omit curly braces. > - Structs must be 0-initialized with '= { 0 }' instead of '= { NULL }'. > - Array sizes and indices should preferably be of type 'size_t'and s/'size_t'and'/'size_t' and/ > not 'int'. > - Function pointers should be passed as 'func' and not '&func'. > > While at it, remove initialization for those variables that are > re-used multiple times, like loop variables. > > Signed-off-by: Chandra Pratap <chandrapratap3519@xxxxxxxxx>