Skip to content

Commit eb8728d

Browse files
pks-tgitster
authored andcommitted
meson: stop disabling -Wsign-compare
In 4f9264b (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent fbe8d30 commit eb8728d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

meson.build

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,6 @@ if get_option('warning_level') in ['2','3', 'everything'] and compiler.get_argum
708708
# These are disabled because we have these all over the place.
709709
'-Wno-empty-body',
710710
'-Wno-missing-field-initializers',
711-
'-Wno-sign-compare',
712711
]
713712
if compiler.has_argument(cflag)
714713
libgit_c_args += cflag

0 commit comments

Comments
 (0)