global: mark code units that generate warnings with -Wsign-compare

Mark code units that generate warnings with `-Wsign-compare`. This
allows for a structured approach to get rid of all such warnings over
time in a way that can be easily measured.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Patrick Steinhardt
2024-12-06 11:27:19 +01:00
committed by Junio C Hamano
parent 709fdce089
commit 41f43b8243
265 changed files with 439 additions and 2 deletions

View File

@ -32,6 +32,8 @@
String Matching: An Aid to Bibliographic Search," CACM June 1975,
Vol. 18, No. 6, which describes the failure function used below. */
#define DISABLE_SIGN_COMPARE_WARNINGS
#include "git-compat-util.h"
#include "kwset.h"