summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2018-12-27 17:54:02 +0100
committerStefan Behnel <stefan_ml@behnel.de>2018-12-27 17:54:02 +0100
commitd7cd245f4bbe09dd65bfd22d9d11cb7d1120587c (patch)
treee90e60ec7386a1db7c22e16ef4ecd93685961834
parent6e6e350c69c0d13eef0eea0bf8f6e83b80897e8d (diff)
downloadcython-d7cd245f4bbe09dd65bfd22d9d11cb7d1120587c.tar.gz
Fix a C compiler warning about an unused variable when compiling in PyPy.
-rw-r--r--Cython/Utility/Exceptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Utility/Exceptions.c b/Cython/Utility/Exceptions.c
index 3dd563628..9e8a42154 100644
--- a/Cython/Utility/Exceptions.c
+++ b/Cython/Utility/Exceptions.c
@@ -646,7 +646,7 @@ static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line);/*proto*/
//@substitute: naming
#ifndef CYTHON_CLINE_IN_TRACEBACK
-static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line) {
+static int __Pyx_CLineForTraceback(CYTHON_NCP_UNUSED PyThreadState *tstate, int c_line) {
PyObject *use_cline;
PyObject *ptype, *pvalue, *ptraceback;
#if CYTHON_COMPILING_IN_CPYTHON