Fix compile time warning compiling ARC port.

This commit is contained in:
Nick Clifton 2015-10-08 12:31:26 +01:00
parent 04c4fe8c59
commit 3f94e60d92
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-10-08 Nick Clifton <nickc@redhat.com>
* arc-dis.c (print_insn_arc): Initiallise insn array.
2015-10-07 Yao Qi <yao.qi@linaro.org>
* aarch64-dis.c (aarch64_ext_sysins_op): Access field

View File

@ -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;