We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6d3546 commit 702e09fCopy full SHA for 702e09f
Modules/arraymodule.c
@@ -2991,7 +2991,6 @@ array_modexec(PyObject *m)
2991
{
2992
char buffer[Py_ARRAY_LENGTH(descriptors)], *p;
2993
PyObject *typecodes;
2994
- Py_ssize_t size = 0;
2995
const struct arraydescr *descr;
2996
2997
if (PyType_Ready(&Arraytype) < 0)
@@ -3009,10 +3008,6 @@ array_modexec(PyObject *m)
3009
3008
return -1;
3010
}
3011
3012
- for (descr=descriptors; descr->typecode != '\0'; descr++) {
3013
- size++;
3014
- }
3015
-
3016
p = buffer;
3017
for (descr = descriptors; descr->typecode != '\0'; descr++) {
3018
*p++ = (char)descr->typecode;
0 commit comments