From: Karthik Nayak Date: Fri, 05 Jul 2024 18:08:26 GMT Subject: Re: [PATCH 2/5] t: harmonize t-reftable-merged.c with coding guidelines Message-ID: In-Reply-To: <20240703171131.3929-3-chandrapratap3519@gmail.com> Chandra Pratap writes: > Harmonize the newly ported test unit-tests/t-reftable-merged.c > with the following guidelines: > - Single line control flow statements like 'for' and 'if' > must omit curly braces. > - Structs must be 0-initialized with '= { 0 }' instead of '= { NULL }'. > - Array indices must be of type 'size_t', not 'int'. > - It is fine to use C99 initial declaration in 'for' loop. > Seems like I spoke too soon, some of my comments from the previous commit have been addressed here. Nice. [snip]