diff options
author | Tom Tromey <tom@tromey.com> | 2023-02-09 12:13:08 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-09 12:17:13 -0700 |
commit | 8ac460b742bc7f49acbcd78f8822386f56814055 (patch) | |
tree | 76fc4392125ae23b7c8985f49b6ca26925571df4 /gdb/python | |
parent | b695fdd9b2494a64db1fb8e584753a1a5afec494 (diff) | |
download | binutils-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