Re: [PATCH 2/5] t: harmonize t-reftable-merged.c with coding guidelines
From: Karthik Nayak <hidden>
Date: 2024-07-05 18:08:28
Attachments
- signature.asc [application/pgp-signature] 690 bytes
From: Karthik Nayak <hidden>
Date: 2024-07-05 18:08:28
Chandra Pratap [off-list ref] 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]