[RFA] A missing ATTRIBUTE_UNUSED
Daniel Jacobowitz
drow@mvista.com
Tue Jan 29 09:13:00 GMT 2002
What's the policy on functions that conditionally use their arguments? I
couldn't find another example offhand, so I don't know if this patch is
right.
With this one I can do most of a -Werror build again.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* nm.c (print_value): Mark abfd unused.
Index: nm.c
===================================================================
RCS file: /cvs/src/src/binutils/nm.c,v
retrieving revision 1.18
diff -u -r1.18 nm.c
--- nm.c 2002/01/23 16:12:55 1.18
+++ nm.c 2002/01/29 17:02:10
@@ -1453,7 +1453,7 @@
static void
print_value (abfd, val)
- bfd *abfd;
+ bfd *abfd ATTRIBUTE_UNUSED;
bfd_vma val;
{
#if ! defined (BFD64) || BFD_HOST_64BIT_LONG
More information about the Binutils
mailing list