summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-02-09 17:19:18 (GMT)
committerGuido van Rossum <guido@python.org>2003-02-09 17:19:18 (GMT)
commitd58f3fce3d1db5b725443788c16f375cb052f4e5 (patch)
treebccdfe7a05b396636bc6ce96f9d189fb790f27a1
parent60eca9331a1c2594b1331678d715e6177386c3a4 (diff)
downloadcpython-d58f3fce3d1db5b725443788c16f375cb052f4e5.zip
cpython-d58f3fce3d1db5b725443788c16f375cb052f4e5.tar.gz
cpython-d58f3fce3d1db5b725443788c16f375cb052f4e5.tar.bz2
Remove unused variable.
-rw-r--r--Modules/itertoolsmodule.c2
-rw-r--r--Modules/parsermodule.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c
index e32ef8c..5766b75 100644
--- a/Modules/itertoolsmodule.c
+++ b/Modules/itertoolsmodule.c
@@ -1118,7 +1118,7 @@ PyTypeObject ifilterfalse_type;
static PyObject *
ifilterfalse_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
{
- PyObject *func, *seq, *invert=NULL;
+ PyObject *func, *seq;
PyObject *it;
ifilterfalseobject *lz;
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c
index a8344d1..d082c09 100644
--- a/Modules/parsermodule.c
+++ b/Modules/parsermodule.c
@@ -772,7 +772,6 @@ build_node_tree(PyObject *tuple)
*/
int line_num = 0;
PyObject *encoding = NULL;
- PyObject *tmpTuple = NULL;
if (num == encoding_decl) {
encoding = PySequence_GetItem(tuple, 2);