diff options
| author | Tom Tromey <tom@tromey.com> | 2020-11-30 01:24:57 -0700 |
|---|---|---|
| committer | Tom Tromey <tom@tromey.com> | 2020-11-30 01:24:57 -0700 |
| commit | 1cd49c43f340e4de62922356ed859ee806e52f6f (patch) | |
| tree | 7105f9af41006dcdadfe133653c935a756f7142a /elfcpp | |
| parent | b7bbf3c81afce9721f602cdecceac8124beeb421 (diff) | |
| download | gdb-1cd49c43f340e4de62922356ed859ee806e52f6f.zip gdb-1cd49c43f340e4de62922356ed859ee806e52f6f.tar.gz gdb-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 'elfcpp')
0 files changed, 0 insertions, 0 deletions
