mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
[3.14] gh-132983: Fix compiler warning about unused function `mt_continue_should_break()
` (GH-133947) (#133950)
gh-132983: Fix compiler warning about unused function ``mt_continue_should_break()`` (GH-133947)
(cherry picked from commit 121ed71f4e
)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
This commit is contained in:
parent
5ba525c7d0
commit
c1aa5f82d9
1 changed files with 2 additions and 0 deletions
|
@ -509,11 +509,13 @@ error:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
#ifdef Py_DEBUG
|
||||
static inline int
|
||||
mt_continue_should_break(ZSTD_inBuffer *in, ZSTD_outBuffer *out)
|
||||
{
|
||||
return in->size == in->pos && out->size != out->pos;
|
||||
}
|
||||
#endif
|
||||
|
||||
static PyObject *
|
||||
compress_mt_continue_impl(ZstdCompressor *self, Py_buffer *data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue