Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions ext/pdo/pdo_stmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -638,15 +638,11 @@ static bool pdo_do_key_pair_fetch(pdo_stmt_t *stmt, enum pdo_fetch_orientation o
static bool pdo_call_fetch_object_constructor(zend_function *constructor, HashTable *ctor_args, zval *return_value)
{
zval retval_constructor_call;
zend_fcall_info fci = {
.size = sizeof(zend_fcall_info),
.function_name = {},
.object = Z_OBJ_P(return_value),
.retval = &retval_constructor_call,
.param_count = 0,
.params = NULL,
.named_params = ctor_args,
};
zend_fcall_info fci = { 0 };
fci.size = sizeof(zend_fcall_info);
fci.object = Z_OBJ_P(return_value);
fci.retval = &retval_constructor_call;
fci.named_params = ctor_args;
zend_fcall_info_cache fcc = {
.function_handler = constructor,
.object = Z_OBJ_P(return_value),
Expand Down
2 changes: 1 addition & 1 deletion ext/spl/spl_iterators.c
Original file line number Diff line number Diff line change
Expand Up @@ -3086,7 +3086,7 @@ PHP_FUNCTION(iterator_apply)
spl_iterator_apply_info apply_info = {
.count = 0,
.params_ht = NULL,
.fcc = {},
.fcc = { 0 },
};

/* The HashTable is used to determine positional arguments */
Expand Down