Skip to content

Commit

Permalink
D'oh, tstate is used under Py 3.11+. UNUSED breaks compilation on win…
Browse files Browse the repository at this point in the history
…dows.
  • Loading branch information
jamadden committed Sep 12, 2023
1 parent 7451810 commit f2ecf0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/greenlet/TPythonState.cpp
Expand Up @@ -281,7 +281,7 @@ const PythonState::OwnedFrame& PythonState::top_frame() const noexcept
return this->_top_frame;
}

void PythonState::did_finish(PyThreadState* UNUSED(tstate)) noexcept
void PythonState::did_finish(PyThreadState* tstate) noexcept
{
#if GREENLET_PY311
// See https://github.com/gevent/gevent/issues/1924 and
Expand Down

0 comments on commit f2ecf0c

Please sign in to comment.