From: Emil Velikov Date: Sat, 7 Sep 2024 00:15:04 +0000 (+0100) Subject: Remove -Wno-unused-result X-Git-Tag: v34~395 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=3b7670f9ebfc07b37fbdfd230e3355ae8a6f1c4b;p=thirdparty%2Fkmod.git Remove -Wno-unused-result With the code base now fixed, this warning doesn't need to be suppressed anymore. Signed-off-by: Emil Velikov Signed-off-by: Lucas De Marchi --- diff --git a/configure.ac b/configure.ac index 4c2b8b60..863a166a 100644 --- a/configure.ac +++ b/configure.ac @@ -266,7 +266,6 @@ CC_CHECK_FLAGS_APPEND(with_cflags, [CFLAGS], [\ -Wno-overlength-strings \ -Wno-unused-parameter \ -Wno-missing-field-initializers \ - -Wno-unused-result \ -Wnested-externs \ -Wchar-subscripts \ -Wtype-limits \ diff --git a/meson.build b/meson.build index b0f9e032..ac52d0db 100644 --- a/meson.build +++ b/meson.build @@ -136,7 +136,6 @@ add_project_arguments( '-Wno-overlength-strings', '-Wno-unused-parameter', '-Wno-missing-field-initializers', - '-Wno-unused-result', '-Wnested-externs', '-Wchar-subscripts', '-Wtype-limits',