public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* another opcodes warning fix
@ 2004-11-19 12:39 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2004-11-19 12:39 UTC (permalink / raw)
  To: binutils

	* or32-opc.c (debug): Warning fix.
	* po/POTFILES.in: Regenerate.

Index: opcodes/or32-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/or32-opc.c,v
retrieving revision 1.2
diff -u -p -r1.2 or32-opc.c
--- opcodes/or32-opc.c	8 Feb 2002 12:12:15 -0000	1.2
+++ opcodes/or32-opc.c	19 Nov 2004 11:04:31 -0000
@@ -345,10 +345,8 @@ const struct or32_opcode or32_opcodes[] 
 static void debug PARAMS ((int, const char *, ...));
 
 static void
-debug (int level, const char *format, ...)
+debug (int level ATTRIBUTE_UNUSED, const char *format ATTRIBUTE_UNUSED, ...)
 {
-  /* Just to get rid of warnings.  */
-  format = (char *) level = 0;
 }
 #endif
 
Index: opcodes/po/POTFILES.in
===================================================================
RCS file: /cvs/src/src/opcodes/po/POTFILES.in,v
retrieving revision 1.29
diff -u -p -r1.29 POTFILES.in
--- opcodes/po/POTFILES.in	17 Sep 2004 06:13:39 -0000	1.29
+++ opcodes/po/POTFILES.in	19 Nov 2004 11:04:33 -0000
@@ -88,6 +88,7 @@ m68hc11-opc.c
 m68k-dis.c
 m68k-opc.c
 m88k-dis.c
+maxq-dis.c
 mcore-dis.c
 mcore-opc.h
 mips16-opc.c

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-19 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-19 12:39 another opcodes warning fix Alan Modra

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