mirror of
https://github.com/systemd/systemd.git
synced 2025-03-22 06:50:18 +03:00
meson: Do not drop warnings (unused variable) when NDEBUG is defined
This is no longer needed, since there is now no warning with NDEBUG defined
This commit is contained in:
parent
683d0bc041
commit
0454681395
@ -335,15 +335,6 @@ basic_disabled_warnings = [
|
||||
'-Wno-unused-result',
|
||||
'-Wno-format-signedness',
|
||||
]
|
||||
if get_option('b_ndebug') == 'true'
|
||||
# With asserts disabled with get a bunch of warnings about variables which
|
||||
# are used only in the asserts. This is not useful at all, so let's just silence
|
||||
# those warnings.
|
||||
basic_disabled_warnings += [
|
||||
'-Wno-unused-variable',
|
||||
'-Wno-unused-but-set-variable',
|
||||
]
|
||||
endif
|
||||
|
||||
possible_cc_flags = [
|
||||
'-Werror=undef',
|
||||
|
Loading…
x
Reference in New Issue
Block a user