projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9939b2
)
Port mod-test to --enable-gcc-warnings
author
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 5 May 2019 16:07:44 +0000
(09:07 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 5 May 2019 16:08:24 +0000
(09:08 -0700)
* 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
patch
|
blob
|
history
diff --git
a/test/data/emacs-module/mod-test.c
b/test/data/emacs-module/mod-test.c
index ad962d5f685f82f6171fdc6c77865f7cdd4bfeab..2891b73c1a01044ebc55dc234dc9bff609b11ac6 100644
(file)
--- 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>