[rfa] remove unused variable
Andrew Cagney
ac131313@redhat.com
Fri May 23 15:06:00 GMT 2003
> 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 <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)
More information about the Gdb-patches
mailing list