mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
meson: fail build when encountering unused variables
This commit is contained in:
@@ -405,6 +405,7 @@ possible_common_cc_flags = [
|
||||
'-Werror=shift-overflow=2',
|
||||
'-Werror=strict-flex-arrays',
|
||||
'-Werror=undef',
|
||||
'-Werror=unused-variable',
|
||||
'-Wfloat-equal',
|
||||
# gperf prevents us from enabling this because it does not emit fallthrough
|
||||
# attribute with clang.
|
||||
|
||||
Reference in New Issue
Block a user