diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-03-29 23:29:19 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-03-29 23:29:19 +0000 |
commit | dc4024cd3faf98ec21df93dabdf911c5fbe25264 (patch) | |
tree | c00874128300dd4033a4143ff27264e608bd61f6 /gdb/ChangeLog | |
parent | a66eed7a5dbef1ece41e565986c77659b7f1505f (diff) | |
download | gdb-dc4024cd3faf98ec21df93dabdf911c5fbe25264.zip gdb-dc4024cd3faf98ec21df93dabdf911c5fbe25264.tar.gz gdb-dc4024cd3faf98ec21df93dabdf911c5fbe25264.tar.bz2 |
Fix -Wshadow warning in ada-lang.c:ada_lookup_simple_minsym
gdb/ChangeLog:
-Wshadow warning fix.
* ada-lang.c (ada_lookup_simple_minsym): Rename wild_match local
variable into wild_match_p. Adjust code accordingly.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 97aba93..18c9dfd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,13 @@ 2012-03-29 Joel Brobecker <brobecker@adacore.com> Andrey Smirnov <andrew.smirnov@gmail.com> + -Wshadow warning fix. + * ada-lang.c (ada_lookup_simple_minsym): Rename wild_match local + variable into wild_match_p. Adjust code accordingly. + +2012-03-29 Joel Brobecker <brobecker@adacore.com> + Andrey Smirnov <andrew.smirnov@gmail.com> + * ada-valprint.c (ada_val_print_1): Move the code handling TYPE_CODE_ENUM inside its own lexical block. Declare variables len and val there, instead of in the function's |