![]() 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> |
||
---|---|---|
.. | ||
clar | ||
.gitignore | ||
ctype.c | ||
generate-clar-decls.sh | ||
generate-clar-suites.sh | ||
lib-oid.c | ||
lib-oid.h | ||
lib-reftable.c | ||
lib-reftable.h | ||
strvec.c | ||
t-example-decorate.c | ||
t-hash.c | ||
t-hashmap.c | ||
t-mem-pool.c | ||
t-oid-array.c | ||
t-oidmap.c | ||
t-oidtree.c | ||
t-prio-queue.c | ||
t-reftable-basics.c | ||
t-reftable-block.c | ||
t-reftable-merged.c | ||
t-reftable-pq.c | ||
t-reftable-reader.c | ||
t-reftable-readwrite.c | ||
t-reftable-record.c | ||
t-reftable-stack.c | ||
t-reftable-tree.c | ||
t-strbuf.c | ||
t-strcmp-offset.c | ||
t-trailer.c | ||
t-urlmatch-normalization.c | ||
test-lib.c | ||
test-lib.h | ||
unit-test.c | ||
unit-test.h |