Nuke zval_reset

This commit is contained in:
Zeev Suraski 2001-07-11 11:39:10 +00:00
parent 4cc86259dd
commit 66d94bc655
14 changed files with 29 additions and 29 deletions

View file

@ -401,7 +401,7 @@ static int checkError(pval *value) {
if (value->type == IS_EXCEPTION) {
php_error(E_WARNING, "%s", value->value.str.val);
efree(value->value.str.val);
ZVAL_RESET(value);
ZVAL_BOOL(value, 0);
return 1;
};
return 0;