From cc742dbfc41918a519dde4ecebe4a1f59e01f1c0 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 5 Aug 2019 14:37:36 +1000 Subject: [PATCH] waf: make unused variables an error on C as well as C++ source files --- Tools/ardupilotwaf/boards.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index 732d58031a..8c6b4b057d 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -118,6 +118,7 @@ class Board: '-Werror=shadow', '-Werror=return-type', '-Werror=unused-result', + '-Werror=unused-variable', '-Werror=narrowing', '-Werror=attributes', '-Werror=overflow',