]> granicus.if.org Git - python/commitdiff
Silence compiler warning for an unused declaration
authorRaymond Hettinger <python@rcn.com>
Sun, 4 Aug 2013 19:00:36 +0000 (12:00 -0700)
committerRaymond Hettinger <python@rcn.com>
Sun, 4 Aug 2013 19:00:36 +0000 (12:00 -0700)
Objects/setobject.c

index c484dce41389e78493ac979633f4aeb33665b622..ea5a24c51644902193ad1ccac14b5f5500f1f6c1 100644 (file)
@@ -214,7 +214,6 @@ static int
 set_insert_key(register PySetObject *so, PyObject *key, Py_hash_t hash)
 {
     register setentry *entry;
-    typedef setentry *(*lookupfunc)(PySetObject *, PyObject *, Py_hash_t);
 
     assert(so->lookup != NULL);
     entry = so->lookup(so, key, hash);