From 9027084793831031926c12d3bdfa132ec6ac4e60 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 4 Dec 2019 16:53:54 -0800 Subject: [PATCH] Pacify GCC 9.2.1 with recent module changes * src/emacs-module.c (module_encode): Remove unused decl. (module_extract_big_integer): Pacify gcc -Wenum-compare. --- src/emacs-module.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/emacs-module.c b/src/emacs-module.c index 12ed3b1f3e0..f372a153ccf 100644 --- a/src/emacs-module.c +++ b/src/emacs-module.c @@ -216,7 +216,6 @@ static void module_out_of_memory (emacs_env *); static void module_reset_handlerlist (struct handler **); static bool value_storage_contains_p (const struct emacs_value_storage *, emacs_value, ptrdiff_t *); -static Lisp_Object module_encode (Lisp_Object); static bool module_assertions = false; @@ -861,7 +860,7 @@ module_extract_big_integer (emacs_env *env, emacs_value arg, int *sign, suffice. */ EMACS_UINT u; enum { required = (sizeof u + size - 1) / size }; - verify (0 < required && required <= module_bignum_count_max); + verify (0 < required && +required <= module_bignum_count_max); if (magnitude == NULL) { *count = required; -- 2.39.2