mirror of https://github.com/python/cpython
Remove an unused variable.
Found using Clang's static analyzer.
This commit is contained in:
parent
949476ee58
commit
99ac9147cb
|
@ -2049,7 +2049,7 @@ static int
|
||||||
PythonCmd(ClientData clientData, Tcl_Interp *interp, int argc, char *argv[])
|
PythonCmd(ClientData clientData, Tcl_Interp *interp, int argc, char *argv[])
|
||||||
{
|
{
|
||||||
PythonCmd_ClientData *data = (PythonCmd_ClientData *)clientData;
|
PythonCmd_ClientData *data = (PythonCmd_ClientData *)clientData;
|
||||||
PyObject *self, *func, *arg, *res;
|
PyObject *func, *arg, *res;
|
||||||
int i, rv;
|
int i, rv;
|
||||||
Tcl_Obj *obj_res;
|
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
|
/* TBD: no error checking here since we know, via the
|
||||||
* Tkapp_CreateCommand() that the client data is a two-tuple
|
* Tkapp_CreateCommand() that the client data is a two-tuple
|
||||||
*/
|
*/
|
||||||
self = data->self;
|
|
||||||
func = data->func;
|
func = data->func;
|
||||||
|
|
||||||
/* Create argument list (argv1, ..., argvN) */
|
/* Create argument list (argv1, ..., argvN) */
|
||||||
|
|
Loading…
Reference in New Issue