forked from ariadne/pkgconf
meson: add -Wmisleading-indentation
A useful warning when loop and conditional statements are allowed without braces.master
parent
96c61cbab0
commit
125a13d3b9
|
@ -12,6 +12,7 @@ add_project_arguments(
|
||||||
'-D_DEFAULT_SOURCE',
|
'-D_DEFAULT_SOURCE',
|
||||||
cc.get_supported_arguments(
|
cc.get_supported_arguments(
|
||||||
'-Wimplicit-function-declaration',
|
'-Wimplicit-function-declaration',
|
||||||
|
'-Wmisleading-indentation',
|
||||||
),
|
),
|
||||||
language : 'c',
|
language : 'c',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue