diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-04-10 19:16:45 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-04-10 19:16:45 +0000 |
commit | 731df338c0275d27878a67caf9504eabc831c68e (patch) | |
tree | cd278fe39671b5c0290c55134a8ec962918ece2d /opcodes/rl78-dis.c | |
parent | f81d112039fa5c836e446d8f79331fdaa35d76ab (diff) | |
download | fsf-binutils-gdb-731df338c0275d27878a67caf9504eabc831c68e.zip fsf-binutils-gdb-731df338c0275d27878a67caf9504eabc831c68e.tar.gz fsf-binutils-gdb-731df338c0275d27878a67caf9504eabc831c68e.tar.bz2 |
opcodes/
* rl78-dis.c (print_insn_rl78): Use alternative form as a GCC false
warning workaround.
Diffstat (limited to 'opcodes/rl78-dis.c')
-rw-r--r-- | opcodes/rl78-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/rl78-dis.c b/opcodes/rl78-dis.c index 1ceee8d..7d1eab4 100644 --- a/opcodes/rl78-dis.c +++ b/opcodes/rl78-dis.c @@ -217,7 +217,7 @@ print_insn_rl78 (bfd_vma addr, disassemble_info * dis) case '0': case '1': - oper = opcode.op + *s - '0'; + oper = *s == '0' ? &opcode.op[0] : &opcode.op[1]; if (do_es) { if (oper->use_es && indirect_type (oper->type)) |