Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
We cannot `RETURN_THROWS()` here, since `return_value` is not defined.
  • Loading branch information
cmb69 committed Jan 1, 2021
1 parent b23c865 commit b2fba0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/reflection/php_reflection.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ static void _class_string(smart_str *str, zend_class_entry *ce, zval *obj, char
_class_const_string(str, ZSTR_VAL(key), c, ZSTR_VAL(sub_indent));
if (UNEXPECTED(EG(exception))) {
zend_string_release(sub_indent);
RETURN_THROWS();
return;
}
} ZEND_HASH_FOREACH_END();
}
Expand Down

1 comment on commit b2fba0e

@kocsismate
Copy link
Member

@kocsismate kocsismate commented on b2fba0e Jan 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, and thank you! I was about to fix this :) (I have no idea how I didn't spot this issue, I was checking if return_value is available..)

Please sign in to comment.