From: Bruno Haible Date: Fri, 2 Jun 2023 23:28:17 +0000 (+0200) Subject: Code perfectionism. X-Git-Tag: v0.22~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fcf5960728b368e09e37378a74be1dda59287e2;p=thirdparty%2Fgettext.git Code perfectionism. * gettext-tools/src/x-javascript.c (max): Remove unused macro. (phase2_ungetc): Fix comment. --- diff --git a/gettext-tools/src/x-javascript.c b/gettext-tools/src/x-javascript.c index 815620861..f2807918f 100644 --- a/gettext-tools/src/x-javascript.c +++ b/gettext-tools/src/x-javascript.c @@ -56,9 +56,6 @@ #define _(s) gettext(s) -#undef max /* clean up after MSVC's */ -#define max(a,b) ((a) > (b) ? (a) : (b)) - #define SIZEOF(a) (sizeof(a) / sizeof(a[0])) /* The JavaScript aka ECMA-Script syntax is defined in ECMA-262 @@ -441,7 +438,7 @@ Please specify the source encoding through --from-code\n"), } } -/* Supports max (9, UNINAME_MAX + 3) pushback characters. */ +/* Supports 9 pushback characters. */ static void phase2_ungetc (int c) {