aboutsummaryrefslogtreecommitdiff
path: root/gdb/ax-gdb.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-11-30 01:24:57 -0700
committerTom Tromey <tom@tromey.com>2020-11-30 01:24:57 -0700
commit1cd49c43f340e4de62922356ed859ee806e52f6f (patch)
tree7105f9af41006dcdadfe133653c935a756f7142a /gdb/ax-gdb.c
parentb7bbf3c81afce9721f602cdecceac8124beeb421 (diff)
downloadbinutils-1cd49c43f340e4de62922356ed859ee806e52f6f.zip
binutils-1cd49c43f340e4de62922356ed859ee806e52f6f.tar.gz
binutils-1cd49c43f340e4de62922356ed859ee806e52f6f.tar.bz2
Remove some dead code from evaluate_subexp_standard
I noticed that in the OP_ARRAY case in evaluate_subexp_standard, "index_pc" is read but never set. This dead code then guards the only call to init_array_element, so this can be removed as well. gdb/ChangeLog 2020-11-30 Tom Tromey <tom@tromey.com> * eval.c (init_array_element): Remove. (evaluate_subexp_standard) <OP_ARRAY>: Remove "index_pc".
Diffstat (limited to 'gdb/ax-gdb.c')
0 files changed, 0 insertions, 0 deletions