This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfa] remove unused variable



On Fri, 23 May 2003, Andrew Cagney wrote:

:) > 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?
:)

Committed.

Ted Roth

:) > 2003-05-22  Theodore A. Roth  <troth@openavr.org>
:) >
:) >         * blockframe.c (frameless_look_for_prologue): Remove unused
:) >         after_prologue variable.
:) >
:) >
:) >
:) > 2003-05-22  Theodore A. Roth  <troth@openavr.org>
:) >
:) > 	* 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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]