From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23369 invoked by alias); 5 May 2010 19:01:28 -0000 Received: (qmail 23327 invoked by uid 22791); 5 May 2010 19:01:26 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 05 May 2010 19:01:22 +0000 Received: (qmail 1633 invoked from network); 5 May 2010 19:01:21 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 5 May 2010 19:01:21 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [OB] eliminate unused local Date: Wed, 05 May 2010 19:01:00 -0000 User-Agent: KMail/1.12.2 (Linux/2.6.31-20-generic; KDE/4.3.2; x86_64; ; ) Cc: Michael Snyder References: <4BE1BF28.3040702@vmware.com> In-Reply-To: <4BE1BF28.3040702@vmware.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201005052001.17176.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-05/txt/msg00114.txt.bz2 On Wednesday 05 May 2010 19:55:36, Michael Snyder wrote: > 2010-05-05 Michael Snyder > > * 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