projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a51c8a
)
disable C compiler warning about unused helper function in Py2
author
Stefan Behnel
<stefan_ml@behnel.de>
Sun, 14 Jul 2013 12:21:16 +0000
(14:21 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sun, 14 Jul 2013 12:21:16 +0000
(14:21 +0200)
Cython/Utility/ObjectHandling.c
patch
|
blob
|
history
diff --git
a/Cython/Utility/ObjectHandling.c
b/Cython/Utility/ObjectHandling.c
index
c9c7638
..
ae4909e
100644
(file)
--- a/
Cython/Utility/ObjectHandling.c
+++ b/
Cython/Utility/ObjectHandling.c
@@
-936,7
+936,7
@@
static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr
//@requires: PyObjectGetAttrStr
//@substitute: naming
-static PyObject* __Pyx_PyObject_CallMethodTuple(PyObject* obj, PyObject* method_name, PyObject* args) {
+static
CYTHON_UNUSED
PyObject* __Pyx_PyObject_CallMethodTuple(PyObject* obj, PyObject* method_name, PyObject* args) {
PyObject *method, *result = NULL;
if (unlikely(!args)) return NULL;
method = __Pyx_PyObject_GetAttrStr(obj, method_name);