diff options
author | Michael Wallner <mike@php.net> | 2015-01-30 20:08:17 +0100 |
---|---|---|
committer | Michael Wallner <mike@php.net> | 2015-01-30 20:08:17 +0100 |
commit | bd06f8bb5f46b49409ee4fff6f4fa16a8756bf3a (patch) | |
tree | 3469a4f75e014360a09c4d4aaa16e25d731e8f54 | |
parent | b72b4084a5fca22a195720441cdd15ad2c767a5c (diff) | |
download | php-git-bd06f8bb5f46b49409ee4fff6f4fa16a8756bf3a.tar.gz |
fix warnings
-rw-r--r-- | ext/pdo/pdo_stmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index 7ae888cfe1..dc1201ccda 100644 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -1543,7 +1543,7 @@ static PHP_METHOD(PDOStatement, fetchAll) static int register_bound_param(INTERNAL_FUNCTION_PARAMETERS, pdo_stmt_t *stmt, int is_param) /* {{{ */ { - struct pdo_bound_param_data param = {0}; + struct pdo_bound_param_data param = {{{0}}}; zend_long param_type = PDO_PARAM_STR; zval *parameter; @@ -1582,7 +1582,7 @@ static int register_bound_param(INTERNAL_FUNCTION_PARAMETERS, pdo_stmt_t *stmt, bind an input parameter to the value of a PHP variable. $paramno is the 1-based position of the placeholder in the SQL statement (but can be the parameter name for drivers that support named placeholders). It should be called prior to execute(). */ static PHP_METHOD(PDOStatement, bindValue) { - struct pdo_bound_param_data param = {0}; + struct pdo_bound_param_data param = {{{0}}}; zend_long param_type = PDO_PARAM_STR; zval *parameter; PHP_STMT_GET_OBJ; |