mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Use ZEND_FCI_INITIALIZED macro
Instead of manually checking that the fci.size is different than 0
This commit is contained in:
parent
00ef092335
commit
197cac65fd
1 changed files with 1 additions and 1 deletions
|
@ -1072,7 +1072,7 @@ PHP_FUNCTION(libxml_set_external_entity_loader)
|
|||
|
||||
_php_libxml_destroy_fci(&LIBXML(entity_loader).fci, &LIBXML(entity_loader).object);
|
||||
|
||||
if (fci.size > 0) { /* argument not null */
|
||||
if (ZEND_FCI_INITIALIZED(fci)) { /* argument not null */
|
||||
LIBXML(entity_loader).fci = fci;
|
||||
Z_ADDREF(fci.function_name);
|
||||
if (fci.object != NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue