From 125a13d3b91e134b6474e2c5dbee4f92301d0c2d Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 3 Aug 2022 12:01:47 -0700 Subject: [PATCH] meson: add -Wmisleading-indentation A useful warning when loop and conditional statements are allowed without braces. --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index b77ee85..88ef05b 100644 --- a/meson.build +++ b/meson.build @@ -12,6 +12,7 @@ add_project_arguments( '-D_DEFAULT_SOURCE', cc.get_supported_arguments( '-Wimplicit-function-declaration', + '-Wmisleading-indentation', ), language : 'c', )