mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
cleanup TSRMLS_FETCH in ext/xmlrpc
This commit is contained in:
parent
9b025fbe91
commit
6b9a26fb65
2 changed files with 0 additions and 5 deletions
|
@ -228,7 +228,6 @@ xml_element* XMLRPC_to_xml_element_worker(XMLRPC_VALUE current_vector, XMLRPC_VA
|
|||
break;
|
||||
case xmlrpc_double:
|
||||
{
|
||||
TSRMLS_FETCH();
|
||||
elem_val->name = strdup(ELEM_DOUBLE);
|
||||
ap_php_snprintf(buf, BUF_SIZE, "%.*G", (int) EG(precision), XMLRPC_GetValueDouble(node));
|
||||
simplestring_add(&elem_val->text, buf);
|
||||
|
|
|
@ -865,7 +865,6 @@ static XMLRPC_VALUE php_xmlrpc_callback(XMLRPC_SERVER server, XMLRPC_REQUEST xRe
|
|||
zval* php_function;
|
||||
zval xmlrpc_params;
|
||||
zval callback_params[3];
|
||||
TSRMLS_FETCH();
|
||||
|
||||
zval_ptr_dtor(&pData->xmlrpc_method);
|
||||
zval_ptr_dtor(&pData->return_data);
|
||||
|
@ -906,7 +905,6 @@ static void php_xmlrpc_introspection_callback(XMLRPC_SERVER server, void* data)
|
|||
zval callback_params[1];
|
||||
zend_string *php_function_name;
|
||||
xmlrpc_callback_data* pData = (xmlrpc_callback_data*)data;
|
||||
TSRMLS_FETCH();
|
||||
|
||||
/* setup data hoojum */
|
||||
ZVAL_COPY_VALUE(&callback_params[0], &pData->caller_params);
|
||||
|
@ -1257,7 +1255,6 @@ XMLRPC_VECTOR_TYPE xmlrpc_str_as_vector_type(const char* str) /* {{{ */
|
|||
int set_zval_xmlrpc_type(zval* value, XMLRPC_VALUE_TYPE newtype) /* {{{ */
|
||||
{
|
||||
int bSuccess = FAILURE;
|
||||
TSRMLS_FETCH();
|
||||
|
||||
/* we only really care about strings because they can represent
|
||||
* base64 and datetime. all other types have corresponding php types
|
||||
|
@ -1304,7 +1301,6 @@ int set_zval_xmlrpc_type(zval* value, XMLRPC_VALUE_TYPE newtype) /* {{{ */
|
|||
XMLRPC_VALUE_TYPE get_zval_xmlrpc_type(zval* value, zval* newvalue) /* {{{ */
|
||||
{
|
||||
XMLRPC_VALUE_TYPE type = xmlrpc_none;
|
||||
TSRMLS_FETCH();
|
||||
|
||||
if (value) {
|
||||
switch (Z_TYPE_P(value)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue