Commit 595abc18eeb for php
commit 595abc18eeb80fd3301aff929260dc0b0d47b26a
Author: Arshid <arshidkv12@gmail.com>
Date: Sun Oct 11 17:06:35 2026 +0530
ext/curl: Remove unused return_value parameter from _php_curl_multi_setopt (#24253)
diff --git a/ext/curl/multi.c b/ext/curl/multi.c
index c8b15ba58f1..a06b204746c 100644
--- a/ext/curl/multi.c
+++ b/ext/curl/multi.c
@@ -450,7 +450,7 @@ static int _php_server_push_callback(CURL *parent_ch, CURL *easy, size_t num_hea
}
/* }}} */
-static bool _php_curl_multi_setopt(php_curlm *mh, zend_long option, zval *zvalue, zval *return_value) /* {{{ */
+static bool _php_curl_multi_setopt(php_curlm *mh, zend_long option, zval *zvalue) /* {{{ */
{
CURLMcode error = CURLM_OK;
@@ -528,7 +528,7 @@ PHP_FUNCTION(curl_multi_setopt)
mh = Z_CURL_MULTI_P(z_mh);
- RETURN_BOOL(_php_curl_multi_setopt(mh, options, zvalue, return_value));
+ RETURN_BOOL(_php_curl_multi_setopt(mh, options, zvalue));
}
/* }}} */