Remove now-unused variables from tp_traverse and tp_clear methods.
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 @@
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 @@
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);