summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffmancera@riseup.net>2024-03-11 15:28:06 +0100
committerFernando Fernandez Mancera <ffmancera@riseup.net>2024-03-12 09:47:06 +0100
commit3cb9065305368a9219004905687113687d44785f (patch)
tree6d12ca0c0aa2fb12e56a66799239d303f4835ce2
parent534e1994842c0946c950eb4e84119e3dcad17309 (diff)
Revert "build: workaround -Wno-calloc-transposed-args warning in systemd code"ff/revert_wno_calloc_transposed-args
Upstream systemd code was re-imported and therefore the issue is now solved. Enable the warning again. This reverts commit b1016e3be80b1e610b84eba527c95bbb9c5971f4. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1886
-rw-r--r--configure.ac1
-rw-r--r--src/meson.build1
2 files changed, 0 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 135b2d981f..2c71be1820 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1151,7 +1151,6 @@ NM_COMPILER_WARNINGS(AM_CFLAGS, ${more_warnings_default})
for w in \
-Wno-nonnull-compare \
- -Wno-calloc-transposed-args \
; do
NM_COMPILER_WARNING_FLAG(LIBSYSTEMD_NM_CFLAGS, "$w")
done
diff --git a/src/meson.build b/src/meson.build
index 5d85dafc21..ceeee6a028 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -73,7 +73,6 @@ libnm_systemd_common_cflags = [ ]
libnm_systemd_common_cflags += cc.get_supported_arguments([
'-Wno-nonnull-compare',
- '-Wno-calloc-transposed-args',
])
###############################################################################