Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Theodore A. Roth" <troth@openavr.org>
To: gdb-patches@sources.redhat.com
Subject: [rfa] remove unused variable
Date: Thu, 22 May 2003 23:03:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.53.0305221601140.9713@knuth.amplepower.com> (raw)

[-- 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)

             reply	other threads:[~2003-05-22 23:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-22 23:03 Theodore A. Roth [this message]
2003-05-23 15:06 ` Andrew Cagney
2003-05-23 17:06   ` Theodore A. Roth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.53.0305221601140.9713@knuth.amplepower.com \
    --to=troth@openavr.org \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox