mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
Remove unused variable in rust-lang.c
I found another unused "cleanup" local variable, this time in rust-lang.c. This patch removes it. Committing as obvious. gdb/ChangeLog 2017-02-10 Tom Tromey <tom@tromey.com> * rust-lang.c (rust_get_disr_info): Remove unused variable.
This commit is contained in:
parent
b964bee0f0
commit
0b145e37a2
@ -1,3 +1,7 @@
|
||||
2017-02-10 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* rust-lang.c (rust_get_disr_info): Remove unused variable.
|
||||
|
||||
2017-02-10 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* python/py-value.c (valpy_richcompare_throw): Remove unnecessary
|
||||
|
@ -124,7 +124,6 @@ rust_get_disr_info (struct type *type, const gdb_byte *valaddr,
|
||||
struct disr_info ret;
|
||||
struct type *disr_type;
|
||||
struct value_print_options opts;
|
||||
struct cleanup *cleanup;
|
||||
const char *name_segment;
|
||||
|
||||
get_no_prettyformat_print_options (&opts);
|
||||
|
Loading…
Reference in New Issue
Block a user