From: Patrick Steinhardt Date: Mon, 20 Jan 2025 16:17:19 +0000 (+0100) Subject: meson: stop disabling -Wsign-compare X-Git-Tag: v2.49.0-rc0~77^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb8728d88ab92d866f454a5b981b7bbfe4e2235b;p=thirdparty%2Fgit.git meson: stop disabling -Wsign-compare In 4f9264b0cd (config.mak.dev: drop `-Wno-sign-compare`, 2024-12-06) we have started an effort to make our codebase compile with -Wsign-compare. But while we removed the -Wno-sign-compare flag from "config.mak.dev", we didn't adjust the Meson build instructions in the same way. Fix this. Signed-off-by: Patrick Steinhardt Signed-off-by: Junio C Hamano --- diff --git a/meson.build b/meson.build index 0064eb64f5..07744c73b1 100644 --- a/meson.build +++ b/meson.build @@ -708,7 +708,6 @@ if get_option('warning_level') in ['2','3', 'everything'] and compiler.get_argum # These are disabled because we have these all over the place. '-Wno-empty-body', '-Wno-missing-field-initializers', - '-Wno-sign-compare', ] if compiler.has_argument(cflag) libgit_c_args += cflag