From a3a6d71652fd306dbf903145971442e90d88fdc9 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 17 Oct 2022 09:13:46 -0700 Subject: [PATCH] Remove unused arrange_output_buffer function from zlibmodule.c. --- Modules/zlibmodule.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c index 88d2dd5563536b..2a490ed5d183a7 100644 --- a/Modules/zlibmodule.c +++ b/Modules/zlibmodule.c @@ -1440,22 +1440,6 @@ arrange_output_buffer_with_maximum(uint32_t *avail_out, return length; } -static inline Py_ssize_t -arrange_output_buffer(uint32_t *avail_out, - uint8_t **next_out, - PyObject **buffer, - Py_ssize_t length) -{ - Py_ssize_t ret; - - ret = arrange_output_buffer_with_maximum(avail_out, next_out, buffer, - length, - PY_SSIZE_T_MAX); - if (ret == -2) - PyErr_NoMemory(); - return ret; -} - /* Decompress data of length self->avail_in_real in self->state.next_in. The output buffer is allocated dynamically and returned. If the max_length is of sufficiently low size, max_length is allocated immediately. At most pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy