mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Initialize zpp varargs variables
These are not initialized if no args are passed.
This commit is contained in:
@@ -2358,8 +2358,8 @@ PHP_FUNCTION(getprotobynumber)
|
||||
PHP_FUNCTION(register_tick_function)
|
||||
{
|
||||
user_tick_function_entry tick_fe;
|
||||
zval *params;
|
||||
uint32_t param_count;
|
||||
zval *params = NULL;
|
||||
uint32_t param_count = 0;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS(), "f*", &tick_fe.fci, &tick_fe.fci_cache, ¶ms, ¶m_count) == FAILURE) {
|
||||
RETURN_THROWS();
|
||||
|
||||
Reference in New Issue
Block a user