diff options
author | Bruno Haible <bruno@clisp.org> | 2023-03-11 03:31:25 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-03-14 02:57:28 +0100 |
commit | 20e263b57a0bb446f1b4fbb0d4979a1db178be62 (patch) | |
tree | 979004315e56cd44d8120d8081bb9a991105d824 | |
parent | dd9a098416034695ad3aed8c22631b9ffaa82d58 (diff) | |
download | gettext-20e263b57a0bb446f1b4fbb0d4979a1db178be62.tar.gz |
Simplify code.
* gettext-tools/src/format-python-brace.c (parse_upto): Remove redundant
declaration.
-rw-r--r-- | gettext-tools/src/format-python-brace.c | 7 |
1 files changed, 2 insertions, 5 deletions
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 <ueno@gnu.org>, 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); |