From 15d2a82fc16c240575d0592e3a50e2a99b1094e2 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 3 Jun 2023 01:27:16 +0200 Subject: [PATCH] Code perfectionism. * gettext-tools/src/format-lisp.c (VERIFY_LIST): Remove first, unused definition of this macro. * gettext-tools/src/format-scheme.c (VERIFY_LIST): Likewise. --- gettext-tools/src/format-lisp.c | 4 ++-- gettext-tools/src/format-scheme.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gettext-tools/src/format-lisp.c b/gettext-tools/src/format-lisp.c index 81e89f3a1..2491256db 100644 --- a/gettext-tools/src/format-lisp.c +++ b/gettext-tools/src/format-lisp.c @@ -34,9 +34,8 @@ #define _(str) gettext (str) -/* Assertion macros. Could be defined to empty for speed. */ +/* Assertion macro. Could be defined to empty for speed. */ #define ASSERT(expr) if (!(expr)) abort (); -#define VERIFY_LIST(list) verify_list (list) /* Lisp format strings are described in the Common Lisp HyperSpec, @@ -181,6 +180,7 @@ verify_list (const struct format_arg_list *list) ASSERT (total_repcount == list->repeated.length); } +/* Assertion macro. Could be defined to empty for speed. */ #define VERIFY_LIST(list) verify_list (list) diff --git a/gettext-tools/src/format-scheme.c b/gettext-tools/src/format-scheme.c index e473a9856..0264cf892 100644 --- a/gettext-tools/src/format-scheme.c +++ b/gettext-tools/src/format-scheme.c @@ -36,9 +36,8 @@ #define _(str) gettext (str) -/* Assertion macros. Could be defined to empty for speed. */ +/* Assertion macro. Could be defined to empty for speed. */ #define ASSERT(expr) if (!(expr)) abort (); -#define VERIFY_LIST(list) verify_list (list) /* Scheme format strings are described in the GNU guile documentation, @@ -184,6 +183,7 @@ verify_list (const struct format_arg_list *list) ASSERT (total_repcount == list->repeated.length); } +/* Assertion macro. Could be defined to empty for speed. */ #define VERIFY_LIST(list) verify_list (list) -- 2.47.2