Fix compilation (strict compilers require constant initializers).

This commit is contained in:
Jon Parise 2001-04-07 18:22:29 +00:00
parent 9762f64222
commit db2cfde087

View File

@ -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));