From: Antoine Pitrou Date: Tue, 18 Jun 2013 21:28:18 +0000 (+0200) Subject: Fix compilation warning with gcc 4.8 (unused typedef) X-Git-Tag: v3.4.0a1~451 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5e946bacefc9df0f81b3bd340efe89649889cc2e;p=thirdparty%2FPython%2Fcpython.git Fix compilation warning with gcc 4.8 (unused typedef) --- diff --git a/Objects/setobject.c b/Objects/setobject.c index c484dce41389..ea5a24c51644 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -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);