diff options
| author | David Aguilar <davvid@gmail.com> | 2025-02-11 22:04:13 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-02-12 09:41:15 -0800 |
| commit | 9d16f8958467be0162441820d56eb7697453e120 (patch) | |
| tree | 3dd5d3773009629ffcb38bd638b3f5235a46e6ab /xdiff/xutils.c | |
| parent | 388218fac77d0405a5083cd4b4ee20f6694609c3 (diff) | |
| download | git-9d16f8958467be0162441820d56eb7697453e120.tar.xz | |
xdiff: move sign comparison warning guard into each file
Allow each file to fix the warnings guarded by the macro separately by
moving the definition from the shared xinclude.h into each file that
needs it.
xmerge.c and xprepare.c do not contain any signed vs. unsigned
comparisons so the definition was not included in these files.
Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff/xutils.c')
| -rw-r--r-- | xdiff/xutils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xdiff/xutils.c b/xdiff/xutils.c index 9e36f24875..169edff5ab 100644 --- a/xdiff/xutils.c +++ b/xdiff/xutils.c @@ -20,6 +20,8 @@ * */ +#define DISABLE_SIGN_COMPARE_WARNINGS + #include "xinclude.h" |
