Skip to content

Commit

Permalink
Remove IS_CALLABLE check - zvals never have that type.
Browse files Browse the repository at this point in the history
That type is used by the type checker, and isn't a zval type.
https://wiki.php.net/phpng-int

> IS_CALLABLE – used only for type hinting
> _IS_BOOL – used_only for type hinting
  • Loading branch information
Tyson Andre committed Sep 29, 2016
1 parent 3e84a13 commit aea8355
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions apc_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -1613,11 +1613,6 @@ static APC_HOTSPOT zval* my_copy_zval(zval* dst, const zval* src, apc_context_t*
return NULL;
break;

case IS_CALLABLE:
/* XXX implement this */
assert(0);
break;

default:
assert(0);
}
Expand Down

0 comments on commit aea8355

Please sign in to comment.