[rfa] remove unused variable
Theodore A. Roth
troth@openavr.org
Thu May 22 23:03: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, 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.
-------------- next part --------------
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