mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix unsigned comparisons and remove dead code
Fix unsigned comparison Cleanup never executed block Fix unsigned comparison Fix unsigned comparison, diff can't be < 0 Fix unsigned comparison Fix unsigned comparison Remove dead code
This commit is contained in:
parent
3ce1a977d4
commit
80d6eb6806
8 changed files with 14 additions and 19 deletions
|
@ -1698,7 +1698,7 @@ static void zend_do_check_for_inconsistent_traits_aliasing(zend_class_entry *ce)
|
|||
ZEND_API void zend_do_bind_traits(zend_class_entry *ce) /* {{{ */
|
||||
{
|
||||
|
||||
if (ce->num_traits <= 0) {
|
||||
if (ce->num_traits == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue