diff options
author | George Peter Banyard <girgias@php.net> | 2020-02-11 00:57:11 +0100 |
---|---|---|
committer | George Peter Banyard <girgias@php.net> | 2020-02-11 00:57:52 +0100 |
commit | 4c9699f0d1890ea5ba3d821783f335637f35d209 (patch) | |
tree | 8cdad92a687bdcdbc7100a2cd21ecbf8eee9e336 /ext/pdo | |
parent | 051b01d465661e16f65bcfd58fcf1d7e03b26f35 (diff) | |
download | php-git-4c9699f0d1890ea5ba3d821783f335637f35d209.tar.gz |
Revert "Fix [-Wmissing-field-initializers] compiler warning in ext/PDO"
Seems like Travis doesn't like this and now throws a
[-Werror=maybe-uninitialized] instead.
This reverts commit 051b01d465661e16f65bcfd58fcf1d7e03b26f35.
Diffstat (limited to 'ext/pdo')
-rw-r--r-- | ext/pdo/pdo_stmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index a15fde0595..84afe14b60 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; + zval grp_val, *pgrp, retval, old_ctor_args = {{0}}; int colno; if (how == PDO_FETCH_USE_DEFAULT) { |