From: Bruno Haible Date: Sat, 11 Mar 2023 02:31:25 +0000 (+0100) Subject: Simplify code. X-Git-Tag: v0.22~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20e263b57a0bb446f1b4fbb0d4979a1db178be62;p=thirdparty%2Fgettext.git Simplify code. * gettext-tools/src/format-python-brace.c (parse_upto): Remove redundant declaration. --- diff --git a/gettext-tools/src/format-python-brace.c b/gettext-tools/src/format-python-brace.c index 1b3e708bd..969e58d11 100644 --- a/gettext-tools/src/format-python-brace.c +++ b/gettext-tools/src/format-python-brace.c @@ -1,6 +1,5 @@ /* Python brace format strings. - Copyright (C) 2004, 2006-2007, 2013-2014, 2016, 2019 Free Software Foundation, - Inc. + Copyright (C) 2004, 2006-2007, 2013-2014, 2016, 2019, 2023 Free Software Foundation, Inc. Written by Daiki Ueno , 2013. This program is free software: you can redistribute it and/or modify @@ -60,9 +59,7 @@ struct spec }; -static bool parse_upto (struct spec *spec, const char **formatp, - bool is_toplevel, char terminator, - bool translated, char *fdi, char **invalid_reason); +/* Forward declaration of local functions. */ static void free_named_args (struct spec *spec);