summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/marshal.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index b8d06ad..c749bb3 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -1320,8 +1320,6 @@ marshal_load(PyObject *self, PyObject *f)
{
PyObject *data, *result;
RFILE rf;
- char *p;
- int n;
/*
* Make a call to the read method, but read zero bytes.
@@ -1338,12 +1336,10 @@ marshal_load(PyObject *self, PyObject *f)
result = NULL;
}
else {
- rf.strings = PyList_New(0);
rf.depth = 0;
rf.fp = NULL;
rf.readable = f;
result = read_object(&rf);
- Py_DECREF(rf.strings);
}
Py_DECREF(data);
return result;