Eliminate useless $this related check

This commit is contained in:
Dmitry Stogov 2018-11-14 11:33:14 +03:00
parent 5ebefa74cf
commit 8bda22592e
7 changed files with 45 additions and 33 deletions

View file

@ -30,7 +30,7 @@ static inline CodePointBreakIterator *fetch_cpbi(BreakIterator_object *bio) {
U_CFUNC PHP_FUNCTION(cpbi_get_last_code_point)
{
BREAKITER_METHOD_INIT_VARS;
object = getThis();
object = &EX(This);
if (zend_parse_parameters_none() == FAILURE) {
intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR,