[igt-dev] [PATCH i-g-t 1/2] meson: Drop -Wdeclaration-after-statement.

Eric Anholt
2018-11-27T20:46:05Z

Being able to move declarations later is very useful in making clear,
concise code.

Signed-off-by: Eric Anholt <eric@anholt.net>
---
meson.build | 1 -
1 file changed, 1 deletion(-)

diff --git a/meson.build b/meson.build
index 469723dc4633..c5aab78716d5 100644
--- a/meson.build
+++ b/meson.build
@@ -11,7 +11,6 @@ cc = meson.get_compiler('c')

cc_args = [
'-Wbad-function-cast',
- '-Wdeclaration-after-statement',
'-Wformat=2',
# igt_assert(0) in switch statements triggers a bunch of this.
'-Wimplicit-fallthrough=0',
--
2.20.0.rc1