[rfa] remove unused variable

Theodore A. Roth
2003-05-22T23:03:55Z

[-- Attachment #1: Type: TEXT/PLAIN, Size: 344 bytes --]

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, but ok to commit?

Ted Roth

2003-05-22 Theodore A. Roth <troth@openavr.org>

* blockframe.c (frameless_look_for_prologue): Remove unused
after_prologue variable.

[-- Attachment #2: Type: TEXT/PLAIN, Size: 647 bytes --]

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)