summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/listobject.c1
-rw-r--r--Objects/typeobject.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index 78961f3..105df4c 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -2274,7 +2274,6 @@ static int
list_traverse(PyListObject *o, visitproc visit, void *arg)
{
Py_ssize_t i;
- PyObject *x;
for (i = o->ob_size; --i >= 0; )
Py_VISIT(o->ob_item[i]);
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 43f0469..47de302 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -2213,8 +2213,6 @@ type_traverse(PyTypeObject *type, visitproc visit, void *arg)
static int
type_clear(PyTypeObject *type)
{
- PyObject *tmp;
-
/* Because of type_is_gc(), the collector only calls this
for heaptypes. */
assert(type->tp_flags & Py_TPFLAGS_HEAPTYPE);