mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-28 14:08:09 +08:00
Remove unnecessary local variables
I found an unused local variables in a couple of places in the Python code; this removes them. gdb/ChangeLog 2017-02-10 Tom Tromey <tom@tromey.com> * python/py-value.c (valpy_richcompare_throw): Remove unnecessary "cleanup" local. * python/py-type.c (typy_legacy_template_argument): Remove unnecessary "cleanup" local.
This commit is contained in:
@ -1330,7 +1330,6 @@ valpy_richcompare_throw (PyObject *self, PyObject *other, int op)
|
||||
int result;
|
||||
struct value *value_other;
|
||||
struct value *value_self;
|
||||
struct cleanup *cleanup;
|
||||
|
||||
scoped_value_mark free_values;
|
||||
|
||||
|
Reference in New Issue
Block a user