Revert "build: workaround -Wno-calloc-transposed-args warning in systemd code"

Upstream systemd code was re-imported and therefore the issue is now
solved. Enable the warning again.

This reverts commit b1016e3be8.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1886
This commit is contained in:
Fernando Fernandez Mancera 2024-03-11 15:28:06 +01:00
parent 534e199484
commit 3cb9065305
2 changed files with 0 additions and 2 deletions

View file

@ -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

View file

@ -73,7 +73,6 @@ libnm_systemd_common_cflags = [ ]
libnm_systemd_common_cflags += cc.get_supported_arguments([
'-Wno-nonnull-compare',
'-Wno-calloc-transposed-args',
])
###############################################################################