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> |
||
|---|---|---|
| .. | ||
| fsm-darwin-gcc.h | ||
| fsm-health-darwin.c | ||
| fsm-health-win32.c | ||
| fsm-health.h | ||
| fsm-ipc-darwin.c | ||
| fsm-ipc-win32.c | ||
| fsm-listen-darwin.c | ||
| fsm-listen-win32.c | ||
| fsm-listen.h | ||
| fsm-path-utils-darwin.c | ||
| fsm-path-utils-win32.c | ||
| fsm-settings-darwin.c | ||
| fsm-settings-win32.c | ||