gettext
c7cd26d2 - Silence "... shadows a previous local" warnings.

Commit
1 year ago
Silence "... shadows a previous local" warnings. * gettext-tools/src/its.c (its_rule_apply): Reduce scope of local variable 'i'. (_its_collect_text_content): Rename local variable 'buffer' to 'obuffer'. (its_rule_list_extract_nodes): Reduce scope of local variable 'n'. (_its_get_content): Reduce scope of local variable 'i'. Rename local variable 'i' to 'j'. * gettext-tools/src/msgmerge.c (message_merge): Reduce scope of local variables 'i', 'len', 'cnt'. (match_domain): Reduce scope of some local variables. * gettext-tools/src/write-mo.c (write_table): Reduce scope of local variables 'j', 'm'. * gettext-tools/src/xg-arglist-parser.c (arglist_parser_done): Rename local variable 'i' to 'j'. * gettext-tools/src/x-csharp.c (phase2_getc): Reduce scope of local variable 'c'. * gettext-tools/src/x-javascript.c (phase2_getc): Likewise. * gettext-tools/src/x-python.c (phase2_getc): Likewise. * gettext-tools/src/x-lisp.c (read_object): Rename some uses of local variable 'c' to 'dmc'. * gettext-tools/src/x-elisp.c (read_object): Rename some uses of local variable 'c' to 'ch' or 'dmc'. * gettext-tools/src/x-librep.c (read_object): Likewise. * gettext-tools/src/x-scheme.c (read_object): Likewise. * gettext-tools/src/x-perl.c (extract_variable): Reduce scope of local variable 'c'. * gettext-tools/src/x-vala.c (phase3_get): Reduce scope of local variable 'c2'.
Author
Parents
Loading