meson: add -Wmisleading-indentation
ci/woodpecker/pr/woodpecker Pipeline was successful Details

A useful warning when loop and conditional statements are allowed
without braces.
pull/241/head
Dylan Baker 2022-08-03 12:01:47 -07:00
parent 96c61cbab0
commit 125a13d3b9
1 changed files with 1 additions and 0 deletions

View File

@ -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',
) )