aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-11-19 12:38:56 +0000
committerAlan Modra <amodra@gmail.com>2004-11-19 12:38:56 +0000
commit5da8bf1b0bcc13d997c42283a80c3b847b621f99 (patch)
tree76ea1a2b08bd1976935ccfe96c8a8bed7e3f30e7 /opcodes
parentca4f23778585d2dc56fc95a0351db3de25a76c94 (diff)
downloadbinutils-5da8bf1b0bcc13d997c42283a80c3b847b621f99.zip
binutils-5da8bf1b0bcc13d997c42283a80c3b847b621f99.tar.gz
binutils-5da8bf1b0bcc13d997c42283a80c3b847b621f99.tar.bz2
* or32-opc.c (debug): Warning fix.
* po/POTFILES.in: Regenerate.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog3
-rw-r--r--opcodes/or32-opc.c6
-rw-r--r--opcodes/po/POTFILES.in1
3 files changed, 6 insertions, 4 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 8ab8c5b..67abe55 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,8 @@
2004-11-19 Alan Modra <amodra@bigpond.net.au>
+ * or32-opc.c (debug): Warning fix.
+ * po/POTFILES.in: Regenerate.
+
* maxq-dis.c: Formatting.
(print_insn): Warning fix.
diff --git a/opcodes/or32-opc.c b/opcodes/or32-opc.c
index 8ccdfb1..dd4df6c 100644
--- a/opcodes/or32-opc.c
+++ b/opcodes/or32-opc.c
@@ -1,5 +1,5 @@
/* Table of opcodes for the OpenRISC 1000 ISA.
- Copyright 2002 Free Software Foundation, Inc.
+ Copyright 2002, 2004 Free Software Foundation, Inc.
Contributed by Damjan Lampret (lampret@opencores.org).
This file is part of gen_or1k_isa, or1k, GDB and GAS.
@@ -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
diff --git a/opcodes/po/POTFILES.in b/opcodes/po/POTFILES.in
index e71ddce..bfd02b8 100644
--- a/opcodes/po/POTFILES.in
+++ b/opcodes/po/POTFILES.in
@@ -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