mirror of
https://github.com/php/php-src.git
synced 2024-11-30 05:13:56 +08:00
Fix compilation (strict compilers require constant initializers).
This commit is contained in:
parent
9762f64222
commit
db2cfde087
@ -215,10 +215,14 @@ static int php_foreach_all (int instatus, char *inkey, int inkeylen, char *inval
|
||||
{
|
||||
int r;
|
||||
zval *status, *key, *value;
|
||||
zval **args [3] = { &status, &key, &value };
|
||||
zval **args [3];
|
||||
zval *retval;
|
||||
CLS_FETCH();
|
||||
|
||||
args[0] = &status;
|
||||
args[1] = &key;
|
||||
args[2] = &value;
|
||||
|
||||
MAKE_STD_ZVAL (status);
|
||||
ZVAL_LONG (status, ypprot_err (instatus));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user