diff options
author | Tom Tromey <tom@tromey.com> | 2017-02-10 13:09:23 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-02-10 13:09:23 -0700 |
commit | 0b145e37a29cd96e567293dc69c0fd4f8af243b9 (patch) | |
tree | f3f8ce75073c5b5737e9405a1763c1fd46570a83 /gdb/rust-lang.c | |
parent | b964bee0f058b8e63c9206a8862b2fc1253f1bbd (diff) | |
download | gdb-0b145e37a29cd96e567293dc69c0fd4f8af243b9.zip gdb-0b145e37a29cd96e567293dc69c0fd4f8af243b9.tar.gz gdb-0b145e37a29cd96e567293dc69c0fd4f8af243b9.tar.bz2 |
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.
Diffstat (limited to 'gdb/rust-lang.c')
-rw-r--r-- | gdb/rust-lang.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/rust-lang.c b/gdb/rust-lang.c index 105b094..4977b0a 100644 --- a/gdb/rust-lang.c +++ b/gdb/rust-lang.c @@ -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); |