commit | eb175c473d8a01ddf554fc45c566fc8e65f69ded | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Mon Jun 06 20:24:11 2011 -0700 |
committer | Brett Cannon <brett@python.org> | Mon Jun 06 20:24:11 2011 -0700 |
tree | 6f77cfd47033bebd2aaf56b7c54a00bf62ac3c31 | |
parent | 5fac8af22ce0fc18c19d02e4f08eaba144b77d07 [diff] [blame] |
Remove a redundant assignment. Found by LLVM/clang 2.9.
diff --git a/Modules/nismodule.c b/Modules/nismodule.c index a81ca8c..0af495f 100644 --- a/Modules/nismodule.c +++ b/Modules/nismodule.c
@@ -411,7 +411,7 @@ 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) {