diff Objects/tupleobject.c @ 68102:e2f96bd29252

Issue #8914: fix various warnings from the Clang static analyzer v254.
author Brett Cannon <bcannon@gmail.com>
date Tue, 22 Feb 2011 20:15:44 +0000
parents 62b61abd02b8
children d0b0fcbb40db
line wrap: on
line diff
--- a/Objects/tupleobject.c	Tue Feb 22 19:24:33 2011 +0000
+++ b/Objects/tupleobject.c	Tue Feb 22 20:15:44 2011 +0000
@@ -86,7 +86,7 @@
         {
             return PyErr_NoMemory();
         }
-        nbytes += sizeof(PyTupleObject) - sizeof(PyObject *);
+        /* nbytes += sizeof(PyTupleObject) - sizeof(PyObject *); */
 
         op = PyObject_GC_NewVar(PyTupleObject, &PyTuple_Type, size);
         if (op == NULL)