diff options
author | Nick Clifton <nickc@redhat.com> | 2015-10-08 12:31:26 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-10-08 12:34:13 +0100 |
commit | 3f94e60d92d9bf67f1f8cbc19ffbfe5d28db7fcf (patch) | |
tree | 63cea8b74475aa85dc8dbe67f6486b5508496718 /opcodes/arc-dis.c | |
parent | 04c4fe8c59d3f2870a5df7be7f55fca60d88381f (diff) | |
download | gdb-3f94e60d92d9bf67f1f8cbc19ffbfe5d28db7fcf.zip gdb-3f94e60d92d9bf67f1f8cbc19ffbfe5d28db7fcf.tar.gz gdb-3f94e60d92d9bf67f1f8cbc19ffbfe5d28db7fcf.tar.bz2 |
Fix compile time warning compiling ARC port.
Diffstat (limited to 'opcodes/arc-dis.c')
-rw-r--r-- | opcodes/arc-dis.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |