[Python-checkins] cpython: Fix compilation warning with gcc 4.8 (unused typedef)

antoine.pitrou python-checkins at python.org
Tue Jun 18 23:28:25 CEST 2013


http://hg.python.org/cpython/rev/626a8e49f2a9
changeset:   84208:626a8e49f2a9
parent:      84206:7081859c1e20
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Tue Jun 18 23:28:18 2013 +0200
summary:
  Fix compilation warning with gcc 4.8 (unused typedef)

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


diff --git a/Objects/setobject.c b/Objects/setobject.c
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -214,7 +214,6 @@
 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);

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


More information about the Python-checkins mailing list