This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

another opcodes warning fix


	* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]