From 3f94e60d92d9bf67f1f8cbc19ffbfe5d28db7fcf Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 8 Oct 2015 12:31:26 +0100 Subject: Fix compile time warning compiling ARC port. --- opcodes/arc-dis.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'opcodes/arc-dis.c') diff --git a/opcodes/arc-dis.c b/opcodes/arc-dis.c index 516fc22..6319d8a 100644 --- a/opcodes/arc-dis.c +++ b/opcodes/arc-dis.c @@ -118,7 +118,8 @@ print_insn_arc (bfd_vma memaddr, int status; unsigned int i; int insnLen = 0; - unsigned insn[2], isa_mask; + unsigned insn[2] = { 0, 0 }; + unsigned isa_mask; const unsigned char *opidx; const unsigned char *flgidx; const struct arc_opcode *opcode; -- cgit v1.1