Skip to content

Commit 7834bd1

Browse files
committed
Fix parameter name warning
1 parent 47c41d4 commit 7834bd1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ext/soap/soap.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static xmlDocPtr serialize_function_call(zval *this_ptr, sdlFunctionPtr function
6464
static xmlNodePtr serialize_parameter(sdlParamPtr param,zval *param_val,int index,char *name, int style, xmlNodePtr parent);
6565
static xmlNodePtr serialize_zval(zval *val, sdlParamPtr param, char *paramName, int style, xmlNodePtr parent);
6666

67-
static void delete_service(void *service);
67+
static void delete_service(soapServicePtr service);
6868
static void delete_argv(struct _soap_class *class);
6969

7070
static void soap_error_handler(int error_num, zend_string *error_filename, const uint32_t error_lineno, zend_string *message);
@@ -4456,10 +4456,8 @@ static void delete_argv(struct _soap_class *class)
44564456
}
44574457
}
44584458

4459-
static void delete_service(void *data) /* {{{ */
4459+
static void delete_service(soapServicePtr service) /* {{{ */
44604460
{
4461-
soapServicePtr service = (soapServicePtr)data;
4462-
44634461
if (service->soap_functions.ft) {
44644462
zend_hash_destroy(service->soap_functions.ft);
44654463
efree(service->soap_functions.ft);

0 commit comments

Comments
 (0)