aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-02-09 12:13:08 -0700
committerTom Tromey <tom@tromey.com>2023-02-09 12:17:13 -0700
commit8ac460b742bc7f49acbcd78f8822386f56814055 (patch)
tree76fc4392125ae23b7c8985f49b6ca26925571df4 /gdb/python
parentb695fdd9b2494a64db1fb8e584753a1a5afec494 (diff)
downloadbinutils-8ac460b742bc7f49acbcd78f8822386f56814055.zip
binutils-8ac460b742bc7f49acbcd78f8822386f56814055.tar.gz
binutils-8ac460b742bc7f49acbcd78f8822386f56814055.tar.bz2
Trivially simplify rust_language::print_enum
rust_language::print_enum computes: int nfields = variant_type->num_fields (); ... but then does not reuse this in one spot. This patch corrects the oversight.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions