]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Removed breaking typo accidentally introduced during merge with 3.2.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Sat, 2 Jul 2011 16:19:51 +0000 (17:19 +0100)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Sat, 2 Jul 2011 16:19:51 +0000 (17:19 +0100)
Python/marshal.c

index b8d06ad286481041d6617f3c23d11981b00ec34e..c749bb335766efa27a0806c85497f09258697c4a 100644 (file)
@@ -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;