From 81487bf89122ef0f369690e421740d38dbc17e23 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 5 May 2019 09:07:44 -0700 Subject: [PATCH] Port mod-test to --enable-gcc-warnings MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * test/data/emacs-module/mod-test.c (NDEBUG): Undef, to prevent GCC from complaining “error: unused variable ‘dummy’” and failing to build the test, if --enable-gcc-warnings. --- test/data/emacs-module/mod-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/data/emacs-module/mod-test.c b/test/data/emacs-module/mod-test.c index ad962d5f685..2891b73c1a0 100644 --- a/test/data/emacs-module/mod-test.c +++ b/test/data/emacs-module/mod-test.c @@ -19,7 +19,9 @@ along with GNU Emacs. If not, see . */ #include "config.h" +#undef NDEBUG #include + #include #include #include -- 2.39.2