Commit 189f6684 authored by Stefan Behnel's avatar Stefan Behnel

Hide a C compiler "unused argument" warning in Py3.11 where the "fast thread...

Hide a C compiler "unused argument" warning in Py3.11 where the "fast thread state" usage is disabled.

Closes https://github.com/cython/cython/issues/4948
parent c48361d0
No related merge requests found
......@@ -647,7 +647,7 @@ static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line);/*proto*/
//@substitute: naming
#ifndef CYTHON_CLINE_IN_TRACEBACK
static int __Pyx_CLineForTraceback(CYTHON_NCP_UNUSED PyThreadState *tstate, int c_line) {
static int __Pyx_CLineForTraceback(CYTHON_UNUSED PyThreadState *tstate, int c_line) {
PyObject *use_cline;
PyObject *ptype, *pvalue, *ptraceback;
#if CYTHON_COMPILING_IN_CPYTHON
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment