diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-05-05 09:07:44 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-05-05 09:08:24 -0700 |
commit | 81487bf89122ef0f369690e421740d38dbc17e23 (patch) | |
tree | b1a0667f3c1ce352162eb7f1b943e2311a20432b /test/data | |
parent | f9939b24ebeb222b3ca6f076512b18ed634a9b64 (diff) | |
download | emacs-81487bf89122ef0f369690e421740d38dbc17e23.tar.gz |
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.
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/emacs-module/mod-test.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <https://www.gnu.org/licenses/>. */ #include "config.h" +#undef NDEBUG #include <assert.h> + #include <errno.h> #include <limits.h> #include <stdio.h> |