Thread (39 messages) 39 messages, 4 authors, 2024-07-24

Re: [PATCH 2/5] t: harmonize t-reftable-merged.c with coding guidelines

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]

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help