[Python-checkins] cpython (2.7): remove unused variable

benjamin.peterson python-checkins at python.org
Sun Oct 30 19:25:05 CET 2011


http://hg.python.org/cpython/rev/eef42c4f295d
changeset:   73208:eef42c4f295d
branch:      2.7
parent:      73202:7ddc7b339a8b
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Oct 30 14:24:44 2011 -0400
summary:
  remove unused variable

files:
  Objects/setobject.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Objects/setobject.c b/Objects/setobject.c
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -1925,7 +1925,7 @@
 static PyObject *
 set_discard(PySetObject *so, PyObject *key)
 {
-    PyObject *tmpkey, *result;
+    PyObject *tmpkey;
     int rv;
 
     rv = set_discard_key(so, key);

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list