This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 015/238] Fix Wshadow
`wild_match_p' instead of `wild_mode_flag'
---
gdb/ChangeLog | 5 +++++
gdb/ada-lang.c | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f0dca1d..3530003 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2011-11-19 Andrey Smirnov <andrew.smirnov@gmail.com>
+ * ada-lang.c (add_symbols_from_enclosing_procs): Rename
+ `wild_match' to `wild_match_p'(-Wshadow).
+
+2011-11-19 Andrey Smirnov <andrew.smirnov@gmail.com>
+
* ada-lang.c (remove_extra_symbols): Rename `remove' to
`remove_p'(-Wshadow).
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 9cfd5c4..8a5be0f 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -4344,13 +4344,13 @@ ada_lookup_simple_minsym (const char *name)
/* For all subprograms that statically enclose the subprogram of the
selected frame, add symbols matching identifier NAME in DOMAIN
and their blocks to the list of data in OBSTACKP, as for
- ada_add_block_symbols (q.v.). If WILD, treat as NAME with a
+ ada_add_block_symbols (q.v.). If WILD_MATCH_P, treat as NAME with a
wildcard prefix. */
static void
add_symbols_from_enclosing_procs (struct obstack *obstackp,
const char *name, domain_enum namespace,
- int wild_match)
+ int wild_match_p)
{
}
--
1.7.5.4