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:
parent
2bb8f23195
commit
2d8365c48f
3 changed files with 7 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue