git/t/unit-tests
Patrick Steinhardt 80c9e70ebe global: trivial conversions to fix `-Wsign-compare` warnings
We have a bunch of loops which iterate up to an unsigned boundary using
a signed index, which generates warnigs because we compare a signed and
unsigned value in the loop condition. Address these sites for trivial
cases and enable `-Wsign-compare` warnings for these code units.

This patch only adapts those code units where we can drop the
`DISABLE_SIGN_COMPARE_WARNINGS` macro in the same step.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-12-06 20:20:04 +09:00
..
clar
.gitignore
ctype.c
generate-clar-decls.sh
generate-clar-suites.sh
lib-oid.c
lib-oid.h
lib-reftable.c global: mark code units that generate warnings with `-Wsign-compare` 2024-12-06 20:20:02 +09:00
lib-reftable.h
strvec.c
t-example-decorate.c global: trivial conversions to fix `-Wsign-compare` warnings 2024-12-06 20:20:04 +09:00
t-hash.c
t-hashmap.c
t-mem-pool.c
t-oid-array.c
t-oidmap.c
t-oidtree.c
t-prio-queue.c global: trivial conversions to fix `-Wsign-compare` warnings 2024-12-06 20:20:04 +09:00
t-reftable-basics.c
t-reftable-block.c
t-reftable-merged.c
t-reftable-pq.c
t-reftable-reader.c
t-reftable-readwrite.c global: mark code units that generate warnings with `-Wsign-compare` 2024-12-06 20:20:02 +09:00
t-reftable-record.c
t-reftable-stack.c global: mark code units that generate warnings with `-Wsign-compare` 2024-12-06 20:20:02 +09:00
t-reftable-tree.c
t-strbuf.c
t-strcmp-offset.c
t-trailer.c global: mark code units that generate warnings with `-Wsign-compare` 2024-12-06 20:20:02 +09:00
t-urlmatch-normalization.c
test-lib.c global: mark code units that generate warnings with `-Wsign-compare` 2024-12-06 20:20:02 +09:00
test-lib.h
unit-test.c
unit-test.h