diff options
author | Brett Cannon <bcannon@gmail.com> | 2010-05-03 23:41:51 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2010-05-03 23:41:51 (GMT) |
commit | 99ac9147cba769dfec59c4a9799250dcc616be80 (patch) | |
tree | 33ad3e835af263a1a3b9cc3b00fedc905793135d | |
parent | 949476ee58affad6d428500d37a3a29f94e48c7d (diff) | |
download | cpython-99ac9147cba769dfec59c4a9799250dcc616be80.zip cpython-99ac9147cba769dfec59c4a9799250dcc616be80.tar.gz cpython-99ac9147cba769dfec59c4a9799250dcc616be80.tar.bz2 |
Remove an unused variable.
Found using Clang's static analyzer.
-rw-r--r-- | Modules/_tkinter.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 @@ static int 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 @@ PythonCmd(ClientData clientData, Tcl_Interp *interp, int argc, char *argv[]) /* 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) */ |