mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Fix CID 547, make static analyzer happy
This commit is contained in:
parent
32e67db84c
commit
cf2db20123
1 changed files with 3 additions and 1 deletions
|
@ -2431,7 +2431,9 @@ SPL_METHOD(SplFileObject, setFlags)
|
||||||
{
|
{
|
||||||
spl_filesystem_object *intern = (spl_filesystem_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
|
spl_filesystem_object *intern = (spl_filesystem_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
|
||||||
|
|
||||||
zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &intern->flags);
|
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &intern->flags) == FAILURE) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
/* {{{ proto int SplFileObject::getFlags()
|
/* {{{ proto int SplFileObject::getFlags()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue