mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-28 22:21:26 +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:
@ -833,7 +833,6 @@ typy_legacy_template_argument (struct type *type, const struct block *block,
|
||||
std::unique_ptr<demangle_parse_info> info;
|
||||
const char *err;
|
||||
struct type *argtype;
|
||||
struct cleanup *cleanup;
|
||||
|
||||
if (TYPE_NAME (type) == NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user