diff options
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-type.c | 1 | ||||
-rw-r--r-- | gdb/python/py-value.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/gdb/python/py-type.c b/gdb/python/py-type.c index 9c20582..d3506ca 100644 --- a/gdb/python/py-type.c +++ b/gdb/python/py-type.c @@ -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) { diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index b9b012b..eb3d307 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -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; |