Initialize vars to prevent valgrind warnings in some cases

This commit is contained in:
Christopher Jones 2010-04-24 00:44:56 +00:00
parent af6dd192b3
commit eb0a3ff1af

View File

@ -1457,6 +1457,9 @@ int php_oci_bind_array_by_name(php_oci_statement *statement, char *name, int nam
bindp->bind = NULL;
bindp->zval = var;
bindp->array.type = type;
bindp->indicator = 0; /* not used for array binds */
bindp->type = 0; /* not used for array binds */
zval_add_ref(&var);
PHP_OCI_CALL_RETURN(statement->errcode,