There was an error while loading. Please reload this page.
1 parent 5fac8af commit eb175c4Copy full SHA for eb175c4
1 file changed
Modules/nismodule.c
@@ -411,7 +411,7 @@ nis_maps (PyObject *self, PyObject *args, PyObject *kwdict)
411
return NULL;
412
if ((list = PyList_New(0)) == NULL)
413
414
- for (maps = maps; maps; maps = maps->next) {
+ for (; maps; maps = maps->next) {
415
PyObject *str = PyUnicode_FromString(maps->map);
416
if (!str || PyList_Append(list, str) < 0)
417
{
0 commit comments