summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-01-18 19:12:56 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-01-18 19:12:56 (GMT)
commit4956d2b88981fd5a6481cd048d7efd514594b6e9 (patch)
tree908e04f18f858eba08770a241e6991bdf33da5ec /Objects
parent288e89acfc29cf857a8c5d314ba2dd3398a2eae9 (diff)
downloadcpython-4956d2b88981fd5a6481cd048d7efd514594b6e9.zip
cpython-4956d2b88981fd5a6481cd048d7efd514594b6e9.tar.gz
cpython-4956d2b88981fd5a6481cd048d7efd514594b6e9.tar.bz2
Silence Coverity false alerts with CIDs #172, #183, #184
Diffstat (limited to 'Objects')
-rw-r--r--Objects/longobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index 1094670..e1e9b51 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -70,6 +70,7 @@ _PyLong_New(Py_ssize_t size)
PyErr_NoMemory();
return NULL;
}
+ /* coverity[ampersand_in_size] */
return PyObject_NEW_VAR(PyLongObject, &PyLong_Type, size);
}