mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Removed unnecessary variable
This commit is contained in:
parent
b9748913de
commit
f08e7caee4
1 changed files with 2 additions and 4 deletions
|
@ -1478,12 +1478,10 @@ PHP_FUNCTION(xml_parse)
|
|||
xml_parser *parser;
|
||||
zval *pind;
|
||||
char *data;
|
||||
int data_len, argc, ret;
|
||||
int data_len, ret;
|
||||
long isFinal = 0;
|
||||
|
||||
argc = ZEND_NUM_ARGS();
|
||||
|
||||
if (zend_parse_parameters(argc TSRMLS_CC, "rs|l", &pind, &data, &data_len, &isFinal) == FAILURE) {
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|l", &pind, &data, &data_len, &isFinal) == FAILURE) {
|
||||
return;
|
||||
}
|
||||
ZEND_FETCH_RESOURCE(parser,xml_parser *, &pind, -1, "XML Parser", le_xml_parser);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue