diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2020-04-22 08:06:38 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2020-04-22 08:06:38 +0200 |
commit | 7dafc13d26e85aaf69d3322cfa87f268d833a35e (patch) | |
tree | 26d9d22b377719c61f3d43cb63abd1f7caeb7c8b | |
parent | f34cddc484c45f4db304911d94a905f0ac2d7936 (diff) | |
download | cython-7dafc13d26e85aaf69d3322cfa87f268d833a35e.tar.gz |
Avoid "unused" C compiler warning.
-rw-r--r-- | Cython/Utility/ObjectHandling.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Cython/Utility/ObjectHandling.c b/Cython/Utility/ObjectHandling.c index f901fdde0..36754043f 100644 --- a/Cython/Utility/ObjectHandling.c +++ b/Cython/Utility/ObjectHandling.c @@ -1187,6 +1187,8 @@ bad: super_type = __Pyx_GetBuiltinName(PYIDENT("super")); #else super_type = (PyObject*) &PySuper_Type; + // avoid "unused" warning + (void) __Pyx_GetBuiltinName; #endif super = likely(super_type) ? __Pyx_PyObject_Call2Args(super_type, type_obj, type_obj) : NULL; #if CYTHON_COMPILING_IN_PYPY && !defined(PySuper_Type) |