diff options
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elf32-nds32.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8ef34ef390d..d2c52019709 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2018-05-16 Maciej W. Rozycki <macro@mips.com> + + * elf32-nds32.c (nds32_convert_32_to_16): Preset `insn_type'. + 2018-05-16 Alan Modra <amodra@gmail.com> PR 22458 diff --git a/bfd/elf32-nds32.c b/bfd/elf32-nds32.c index 61f48004b4b..1b30d127a5a 100644 --- a/bfd/elf32-nds32.c +++ b/bfd/elf32-nds32.c @@ -6808,7 +6808,7 @@ nds32_convert_32_to_16 (bfd *abfd, uint32_t insn, uint16_t *pinsn16, { int op6; uint16_t insn16 = 0; - int insn_type; + int insn_type = 0; unsigned long mach = bfd_get_mach (abfd); /* Decode 32-bit instruction. */ |