Remove an unused variable.
Found using Clang's static analyzer.
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index ea36297..db25f86 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -2049,7 +2049,7 @@
PythonCmd(ClientData clientData, Tcl_Interp *interp, int argc, char *argv[])
{
PythonCmd_ClientData *data = (PythonCmd_ClientData *)clientData;
- PyObject *self, *func, *arg, *res;
+ PyObject *func, *arg, *res;
int i, rv;
Tcl_Obj *obj_res;
@@ -2058,7 +2058,6 @@
/* TBD: no error checking here since we know, via the
* Tkapp_CreateCommand() that the client data is a two-tuple
*/
- self = data->self;
func = data->func;
/* Create argument list (argv1, ..., argvN) */