git/t/unit-tests
Chandra Pratap e4e384f68d t: harmonize t-reftable-stack.c with coding guidelines
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
  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.

Mentored-by: Patrick Steinhardt <ps@pks.im>
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Chandra Pratap <chandrapratap3519@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-09-08 13:24:03 -07:00
..
.gitignore
lib-oid.c
lib-oid.h
t-ctype.c Merge branch 'jk/mark-unused-parameters' 2024-08-26 11:32:23 -07:00
t-example-decorate.c
t-hash.c
t-hashmap.c
t-mem-pool.c
t-oidmap.c
t-oidtree.c
t-prio-queue.c
t-reftable-basics.c Merge branch 'jk/mark-unused-parameters' 2024-08-26 11:32:23 -07:00
t-reftable-block.c Merge branch 'ps/reftable-concurrent-compaction' 2024-09-03 09:15:03 -07:00
t-reftable-merged.c Merge branch 'ps/reftable-concurrent-compaction' 2024-09-03 09:15:03 -07:00
t-reftable-pq.c
t-reftable-readwrite.c Merge branch 'ps/reftable-concurrent-compaction' 2024-09-03 09:15:03 -07:00
t-reftable-record.c
t-reftable-stack.c t: harmonize t-reftable-stack.c with coding guidelines 2024-09-08 13:24:03 -07:00
t-reftable-tree.c
t-strbuf.c
t-strcmp-offset.c
t-strvec.c Merge branch 'jk/mark-unused-parameters' 2024-08-26 11:32:23 -07:00
t-trailer.c
t-urlmatch-normalization.c
test-lib.c
test-lib.h