public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Alan Modra <amodra@gmail.com>
To: Paul Brook <paul@codesourcery.com>
Cc: binutils@sourceware.org
Subject: Re: [PATCH] C6X unwinding table generation
Date: Tue, 10 May 2011 02:37:00 -0000	[thread overview]
Message-ID: <20110510023700.GW7018@bubble.grove.modra.org> (raw)
In-Reply-To: <201104071355.13054.paul@codesourcery.com>

On Thu, Apr 07, 2011 at 01:55:12PM +0100, Paul Brook wrote:
> 	(dot_cfi_endproc): Use tc_cfi_endproc.

.../gas/dw2gencfi.c: In function 'dot_cfi_endproc':
.../gas/dw2gencfi.c:1119:21: error: variable 'fde' set but not used [-Werror=unused-but-set-variable]

	* dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.

Index: gas/dw2gencfi.c
===================================================================
RCS file: /cvs/src/src/gas/dw2gencfi.c,v
retrieving revision 1.55
diff -u -p -r1.55 dw2gencfi.c
--- gas/dw2gencfi.c	9 May 2011 13:17:56 -0000	1.55
+++ gas/dw2gencfi.c	10 May 2011 02:34:34 -0000
@@ -73,7 +73,7 @@
 #endif
 
 #ifndef tc_cfi_endproc
-# define tc_cfi_endproc(fde) ((void)0)
+# define tc_cfi_endproc(fde) ((void) (fde))
 #endif
 
 #ifndef DWARF2_FORMAT

-- 
Alan Modra
Australia Development Lab, IBM

      parent reply	other threads:[~2011-05-10  2:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 12:55 Paul Brook
2011-04-08 16:15 ` Nick Clifton
2011-04-08 19:22 ` Joseph S. Myers
2011-04-08 20:16 ` Joseph S. Myers
2011-05-10  2:37 ` Alan Modra [this message]

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=20110510023700.GW7018@bubble.grove.modra.org \
    --to=amodra@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=paul@codesourcery.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).