]> granicus.if.org Git - python/commitdiff
Fix compilation warning with gcc 4.8 (unused typedef)
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 18 Jun 2013 21:28:18 +0000 (23:28 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 18 Jun 2013 21:28:18 +0000 (23:28 +0200)
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);