Index: gdb/python/py-infthread.c |
diff --git a/gdb/python/py-infthread.c b/gdb/python/py-infthread.c |
index 3a37ef787ed38ad22d6196de0d597772464ddebd..8821f20c59f8ae975f622b3ab6effc331110efcf 100644 |
--- a/gdb/python/py-infthread.c |
+++ b/gdb/python/py-infthread.c |
@@ -162,7 +162,6 @@ static PyObject * |
thpy_switch (PyObject *self, PyObject *args) |
{ |
thread_object *thread_obj = (thread_object *) self; |
- struct cleanup *cleanup; |
volatile struct gdb_exception except; |
THPY_REQUIRE_VALID (thread_obj); |