diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-12-06 11:27:19 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-12-06 20:20:02 +0900 |
| commit | 41f43b8243f42b9df2e98be8460646d4c0100ad3 (patch) | |
| tree | 27a0fe0c493a3e08af4d502aaad6be01fac69118 /reftable/system.h | |
| parent | 709fdce0893f93464435841e0eb9f6df3fd73807 (diff) | |
| download | git-41f43b8243f42b9df2e98be8460646d4c0100ad3.tar.gz | |
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>
Diffstat (limited to 'reftable/system.h')
| -rw-r--r-- | reftable/system.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/reftable/system.h b/reftable/system.h index 5ec8583343..d3b8a55f4b 100644 --- a/reftable/system.h +++ b/reftable/system.h @@ -11,6 +11,8 @@ https://developers.google.com/open-source/licenses/bsd /* This header glues the reftable library to the rest of Git */ +#define DISABLE_SIGN_COMPARE_WARNINGS + #include "git-compat-util.h" #include "lockfile.h" #include "tempfile.h" |
