]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Rename variables in ada-lang.c:ada_make_symbol_completion_list.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 29 Mar 2012 23:30:55 +0000 (23:30 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 29 Mar 2012 23:30:55 +0000 (23:30 +0000)
commitb1ed564ad05fb27a5aec2b2594ff22065afc6d42
treec8bad52faa74bfc7869bfd76c031309e6ffa9ab6
parentcb8e9b977ecf427fcd84127e05c11855cc2fd217
Rename variables in ada-lang.c:ada_make_symbol_completion_list.

This renaming allows us to have variable names that are consistent
with the names of the parameters in the functions where these
variables are used.  This also allows us to avoid a -Wshadow warning
in the case of variable "wild_match", which is now renamed to
"wild_match_p".

gdb/ChangeLog:

        -Wshadow warning fix.
        * ada-lang.c (ada_make_symbol_completion_list): Rename parameters
        "wild_match" and "encoded" into "wild_match_p" and "encoded_p".
        Adjust code accordingly.
gdb/ChangeLog
gdb/ada-lang.c