From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1630 invoked by alias); 23 May 2003 15:06:59 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 1576 invoked from network); 23 May 2003 15:06:58 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.131) by sources.redhat.com with SMTP; 23 May 2003 15:06:58 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id CB5212B2F; Fri, 23 May 2003 11:06:46 -0400 (EDT) Message-ID: <3ECE3906.3080708@redhat.com> Date: Fri, 23 May 2003 15:06:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Theodore A. Roth" Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa] remove unused variable References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg00451.txt.bz2 > Hi, > > I was just digging in blockframe.c and noticed an unused varible > declared in frameless_look_for_prologue(). The attached patch removed > it. > > Probably obvious, Yes. > but ok to commit? Yes. Thanks for cleaning things like this. Andrew > > Ted Roth > > 2003-05-22 Theodore A. Roth > > * blockframe.c (frameless_look_for_prologue): Remove unused > after_prologue variable. > > > > 2003-05-22 Theodore A. Roth > > * blockframe.c (frameless_look_for_prologue): Remove unused > after_prologue variable. > > Index: blockframe.c > =================================================================== > RCS file: /cvs/src/src/gdb/blockframe.c,v > retrieving revision 1.70 > diff -u -r1.70 blockframe.c > --- blockframe.c 14 May 2003 17:43:16 -0000 1.70 > +++ blockframe.c 22 May 2003 22:55:24 -0000 > @@ -144,7 +144,7 @@ > int > frameless_look_for_prologue (struct frame_info *frame) > { > - CORE_ADDR func_start, after_prologue; > + CORE_ADDR func_start; > > func_start = get_frame_func (frame); > if (func_start)