summaryrefslogtreecommitdiffstats
path: root/Objects/setobject.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-06-18 21:28:18 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-06-18 21:28:18 (GMT)
commit5e946bacefc9df0f81b3bd340efe89649889cc2e (patch)
tree45dd500cd3e4690c02e9522215fa67573cac8bd7 /Objects/setobject.c
parent1a1a06ee36f06782a6fdf60e9a245a6359a0b95e (diff)
downloadcpython-5e946bacefc9df0f81b3bd340efe89649889cc2e.zip
cpython-5e946bacefc9df0f81b3bd340efe89649889cc2e.tar.gz
cpython-5e946bacefc9df0f81b3bd340efe89649889cc2e.tar.bz2
Fix compilation warning with gcc 4.8 (unused typedef)
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r--Objects/setobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index c484dce..ea5a24c 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);