This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 31/348] Fix -Wsahdow warnings
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrey Smirnov <andrew dot smirnov at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 22 Nov 2011 12:01:36 -0700
- Subject: Re: [PATCH 31/348] Fix -Wsahdow warnings
- References: <87ty5w70j9.fsf@gmail.com>
>>>>> "Andrey" == Andrey Smirnov <andrew.smirnov@gmail.com> writes:
Andrey> * breakpoint.c (create_breakpoint): Fix -Wshadow
Andrey> warnings.
Andrey> if (type_wanted == bp_static_tracepoint && is_marker_spec (arg))
Andrey> {
Andrey> - int i;
Andrey> +
Andrey> sals = decode_static_tracepoint_spec (&arg);
If you remove the last declaration, I think you should remove the blank
line that separates declarations from code as well.
Otherwise ok.
Tom