]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: re-enable -Wunused-result with clang
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 6 Jul 2021 13:13:00 +0000 (15:13 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 9 Jul 2021 09:11:25 +0000 (11:11 +0200)
commitbc2a4af25f7f7673712ff9b70822a1f68974ee4c
tree9fbc58d096a63d1177e950c833785494fbc2f850
parent9ca7e3d00d03cc5cfe42529a4770eebe02d3cca9
meson: re-enable -Wunused-result with clang

We disabled it in f73fb7b742f294b6d2126afa16001bd2ff6ab461 in response to an
apparent gcc bug. It seems that depending on the combination of optimization
options, gcc still ignores (void). But this seems to work fine with clang, so
let's re-enable the warning conditionally.
meson.build