diff options
author | Brett Cannon <bcannon@gmail.com> | 2011-02-22 20:15:44 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2011-02-22 20:15:44 +0000 |
commit | b94767ff44edf5d461d7cb1c8eb5160f83886358 (patch) | |
tree | b43b482e765b0383b3326779f6815e72b2bacccb /Modules/arraymodule.c | |
parent | 79da6b7075a3d51ae042e77a2afca827e7bce435 (diff) | |
download | cpython-git-b94767ff44edf5d461d7cb1c8eb5160f83886358.tar.gz |
Issue #8914: fix various warnings from the Clang static analyzer v254.
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r-- | Modules/arraymodule.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index fe6106c9a4..533f404f91 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -876,7 +876,6 @@ array_inplace_repeat(arrayobject *self, Py_ssize_t n) if (Py_SIZE(self) > 0) { if (n < 0) n = 0; - items = self->ob_item; if ((self->ob_descr->itemsize != 0) && (Py_SIZE(self) > PY_SSIZE_T_MAX / self->ob_descr->itemsize)) { return PyErr_NoMemory(); |