From: Paul Eggert Date: Sun, 5 May 2019 16:07:44 +0000 (-0700) Subject: Port mod-test to --enable-gcc-warnings X-Git-Tag: emacs-27.0.90~2965 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=81487bf89122ef0f369690e421740d38dbc17e23;p=emacs.git Port mod-test to --enable-gcc-warnings * 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. --- 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