arm-dis.c (print_insn_coprocessor): Rename index to index_operand.
authorHans-Peter Nilsson <hp@bitrange.com>
Wed, 10 Jul 2019 16:38:19 +0000 (18:38 +0200)
committerHans-Peter Nilsson <hp@bitrange.com>
Wed, 10 Jul 2019 16:42:06 +0000 (18:42 +0200)
commit43dd762689eb80d5c93a6c1079697c3791fb46fa
tree3658a903fc1fbf996329a2defb4df766a67707d3
parent5c458ae8f529a11ecab9db470d80695bb31ecfc5
arm-dis.c (print_insn_coprocessor): Rename index to index_operand.

Older gcc warns, arguably incorrectly, about name collisions between
global functions and function-local variable names.  Consesus has been
to rename local variables whenever this is spotted, hence committed as
obvious.  Note the pre-existing variable named idx; "index_operand"
seemed logical given the context.

* arm-dis.c (print_insn_coprocessor): Rename index to
index_operand.
opcodes/ChangeLog
opcodes/arm-dis.c