[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 81487bf: Port mod-test to --enable-gcc-warnings
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 81487bf: Port mod-test to --enable-gcc-warnings |
Date: |
Sun, 5 May 2019 12:08:29 -0400 (EDT) |
branch: master
commit 81487bf89122ef0f369690e421740d38dbc17e23
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
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.
---
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 ad962d5..2891b73 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>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 81487bf: Port mod-test to --enable-gcc-warnings,
Paul Eggert <=