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 | 73522973dc25255c425d39c58e31da56433a460f (patch) | |
tree | 3cc3a82ec484640ce4ec9ce97590e5d08e4e9cfd /opcodes/rl78-dis.c | |
parent | 2a4b75ffe914818f4148f3920aa50cdff4d211c8 (diff) | |
download | binutils-redhat-73522973dc25255c425d39c58e31da56433a460f.tar.gz |
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 1ceee8d2e0..7d1eab4e31 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)) |