From 051b01d465661e16f65bcfd58fcf1d7e03b26f35 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Mon, 10 Feb 2020 23:49:13 +0100 Subject: [PATCH] Fix [-Wmissing-field-initializers] compiler warning in ext/PDO --- ext/pdo/pdo_stmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index 84afe14b60..a15fde0595 100644 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -750,7 +750,7 @@ static int do_fetch(pdo_stmt_t *stmt, int do_bind, zval *return_value, enum pdo_ { int flags, idx, old_arg_count = 0; zend_class_entry *ce = NULL, *old_ce = NULL; - zval grp_val, *pgrp, retval, old_ctor_args = {{0}}; + zval grp_val, *pgrp, retval, old_ctor_args; int colno; if (how == PDO_FETCH_USE_DEFAULT) { -- 2.49.0