summaryrefslogtreecommitdiffstats
path: root/Objects/setobject.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-01-08 06:13:44 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-01-08 06:13:44 (GMT)
commit0c6e2f16408efa2f8ca79e9679d5f78857fc66d2 (patch)
treeb7a73a74e5d4c498e7a8d18a8a9144d543d7d939 /Objects/setobject.c
parent76dc081dd9130de71893ca2d9bb8156f4c13a4d4 (diff)
downloadcpython-0c6e2f16408efa2f8ca79e9679d5f78857fc66d2.zip
cpython-0c6e2f16408efa2f8ca79e9679d5f78857fc66d2.tar.gz
cpython-0c6e2f16408efa2f8ca79e9679d5f78857fc66d2.tar.bz2
Remove some shadowed variables
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r--Objects/setobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index d39f265..2494bae 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -846,7 +846,7 @@ set_update_internal(PySetObject *so, PyObject *other)
return set_merge(so, other);
if (PyDict_Check(other)) {
- PyObject *key, *value;
+ PyObject *value;
int pos = 0;
while (PyDict_Next(other, &pos, &key, &value)) {
if (set_add_key(so, key) == -1)