Remove an unneeded variable assignment.

Found using Clang's static analyzer.
This commit is contained in:
Brett Cannon 2010-05-05 20:18:23 +00:00
parent eb3fef59b9
commit fee3acb082
1 changed files with 1 additions and 2 deletions

View File

@ -86,7 +86,6 @@ PyTuple_New(register Py_ssize_t size)
{ {
return PyErr_NoMemory(); return PyErr_NoMemory();
} }
nbytes += sizeof(PyTupleObject) - sizeof(PyObject *);
op = PyObject_GC_NewVar(PyTupleObject, &PyTuple_Type, size); op = PyObject_GC_NewVar(PyTupleObject, &PyTuple_Type, size);
if (op == NULL) if (op == NULL)