This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [OB] eliminate unused local
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Michael Snyder <msnyder at vmware dot com>
- Date: Wed, 5 May 2010 20:01:17 +0100
- Subject: Re: [OB] eliminate unused local
- References: <4BE1BF28.3040702@vmware.com>
On Wednesday 05 May 2010 19:55:36, Michael Snyder wrote:
> 2010-05-05 Michael Snyder <msnyder@vmware.com>
>
> * features/i386/i386-mmx.c (initialize_tdesc_i386_mmx):
> Delete unused variable 'type'.
The patch also deleted `field_type'. But in any case, this
is a generated file; you should fix the source of the problem
instead.
>
> Index: features/i386/i386-mmx.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/features/i386/i386-mmx.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 i386-mmx.c
> --- features/i386/i386-mmx.c 8 Apr 2010 22:32:38 -0000 1.1
> +++ features/i386/i386-mmx.c 5 May 2010 18:53:08 -0000
> @@ -10,7 +10,6 @@ initialize_tdesc_i386_mmx (void)
> {
> struct target_desc *result = allocate_target_description ();
> struct tdesc_feature *feature;
> - struct tdesc_type *field_type, *type;
>
> set_tdesc_architecture (result, bfd_scan_arch ("i386"));
>
--
Pedro Alves