diff options
author | Brett Cannon <brett@python.org> | 2011-06-06 20:24:11 -0700 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2011-06-06 20:24:11 -0700 |
commit | eb175c473d8a01ddf554fc45c566fc8e65f69ded (patch) | |
tree | 6f77cfd47033bebd2aaf56b7c54a00bf62ac3c31 | |
parent | 5fac8af22ce0fc18c19d02e4f08eaba144b77d07 (diff) | |
download | cpython-git-eb175c473d8a01ddf554fc45c566fc8e65f69ded.tar.gz |
Remove a redundant assignment.
Found by LLVM/clang 2.9.
-rw-r--r-- | Modules/nismodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/nismodule.c b/Modules/nismodule.c index a81ca8ca4d..0af495fa53 100644 --- a/Modules/nismodule.c +++ b/Modules/nismodule.c @@ -411,7 +411,7 @@ nis_maps (PyObject *self, PyObject *args, PyObject *kwdict) return NULL; if ((list = PyList_New(0)) == NULL) return NULL; - for (maps = maps; maps; maps = maps->next) { + for (; maps; maps = maps->next) { PyObject *str = PyUnicode_FromString(maps->map); if (!str || PyList_Append(list, str) < 0) { |