[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:
Miss Islington (bot) 2025-05-12 21:49:44 +02:00 committed by GitHub
parent 5ba525c7d0
commit c1aa5f82d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)