From 47d8304e8837825ab4fd60922b28f30c623f2c02 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 24 Feb 2005 13:38:01 +0000 Subject: * cris-dis.c (format_hex): Remove ineffective warning fix. * crx-dis.c (make_instruction): Warning fix. * frv-asm.c: Regenerate. --- opcodes/crx-dis.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'opcodes/crx-dis.c') diff --git a/opcodes/crx-dis.c b/opcodes/crx-dis.c index 928b011..640a90a 100644 --- a/opcodes/crx-dis.c +++ b/opcodes/crx-dis.c @@ -658,8 +658,9 @@ make_instruction (void) for (i = 0; i < currInsn.nargs; i++) { - argument a = { 0 }; + argument a; + memset (&a, 0, sizeof (a)); a.type = getargtype (instruction->operands[i].op_type); if (instruction->operands[i].op_type == cst4 || instruction->operands[i].op_type == rbase_dispu4) -- cgit v1.1