Skip to content

Commit 051b01d

Browse files
committed
Fix [-Wmissing-field-initializers] compiler warning in ext/PDO
1 parent a7e3bbb commit 051b01d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo/pdo_stmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ static int do_fetch(pdo_stmt_t *stmt, int do_bind, zval *return_value, enum pdo_
750750
{
751751
int flags, idx, old_arg_count = 0;
752752
zend_class_entry *ce = NULL, *old_ce = NULL;
753-
zval grp_val, *pgrp, retval, old_ctor_args = {{0}};
753+
zval grp_val, *pgrp, retval, old_ctor_args;
754754
int colno;
755755

756756
if (how == PDO_FETCH_USE_DEFAULT) {

0 commit comments

Comments
 (0)