diff options
| author | Paul Eggert | 2019-05-05 09:07:44 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-05-05 09:08:24 -0700 |
| commit | 81487bf89122ef0f369690e421740d38dbc17e23 (patch) | |
| tree | b1a0667f3c1ce352162eb7f1b943e2311a20432b /test/data | |
| parent | f9939b24ebeb222b3ca6f076512b18ed634a9b64 (diff) | |
| download | emacs-81487bf89122ef0f369690e421740d38dbc17e23.tar.gz emacs-81487bf89122ef0f369690e421740d38dbc17e23.zip | |
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/>. */ | |||
| 19 | 19 | ||
| 20 | #include "config.h" | 20 | #include "config.h" |
| 21 | 21 | ||
| 22 | #undef NDEBUG | ||
| 22 | #include <assert.h> | 23 | #include <assert.h> |
| 24 | |||
| 23 | #include <errno.h> | 25 | #include <errno.h> |
| 24 | #include <limits.h> | 26 | #include <limits.h> |
| 25 | #include <stdio.h> | 27 | #include <stdio.h> |