summaryrefslogtreecommitdiff
path: root/opcodes/or32-opc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2004-11-19 12:38:56 +0000
committerAlan Modra <amodra@bigpond.net.au>2004-11-19 12:38:56 +0000
commit8f1120453f9f1d757ab9c87acd4930cb56907341 (patch)
tree2f508d4662b1ecf91f6030b6577228fa4ec3009d /opcodes/or32-opc.c
parent2ee1efbfff250abd11c5638f94a15e8bac1adbd4 (diff)
downloadbinutils-redhat-8f1120453f9f1d757ab9c87acd4930cb56907341.tar.gz
* or32-opc.c (debug): Warning fix.
* po/POTFILES.in: Regenerate.
Diffstat (limited to 'opcodes/or32-opc.c')
-rw-r--r--opcodes/or32-opc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/opcodes/or32-opc.c b/opcodes/or32-opc.c
index 8ccdfb1e5e..dd4df6c913 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