@@ -484,7 +484,6 @@ ZEND_VM_C_LABEL(compare_values_any_type):
484
484
FREE_OP1 ();
485
485
FREE_OP2 ();
486
486
ZEND_VM_SMART_BRANCH (0 , 1 );
487
- return ;
488
487
}
489
488
ZEND_VM_C_LABEL (compare_values ):
490
489
if (Z_TYPE_P (op1 ) <= IS_TRUE ) {
@@ -493,14 +492,12 @@ ZEND_VM_C_LABEL(compare_values):
493
492
op1 = ZVAL_UNDEFINED_OP1 ();
494
493
op2 = ZVAL_UNDEFINED_OP2 ();
495
494
ZEND_VM_SMART_BRANCH (1 , 1 );
496
- return ;
497
495
}
498
496
/* They are identical, return true */
499
497
/* This has to check for undefined variable errors when IS_UNDEF is possible. (only warns for IS_CV) */
500
498
FREE_OP1 ();
501
499
FREE_OP2 ();
502
500
ZEND_VM_SMART_BRANCH (1 , 0 );
503
- return ;
504
501
}
505
502
switch (Z_TYPE_P (op1 )) {
506
503
case IS_LONG :
@@ -588,7 +585,6 @@ ZEND_VM_C_LABEL(compare_values_any_type):
588
585
FREE_OP1 ();
589
586
FREE_OP2 ();
590
587
ZEND_VM_SMART_BRANCH (1 , 1 );
591
- return ;
592
588
}
593
589
ZEND_VM_C_LABEL (compare_values ):
594
590
if (Z_TYPE_P (op1 ) <= IS_TRUE ) {
@@ -597,14 +593,12 @@ ZEND_VM_C_LABEL(compare_values):
597
593
op1 = ZVAL_UNDEFINED_OP1 ();
598
594
op2 = ZVAL_UNDEFINED_OP2 ();
599
595
ZEND_VM_SMART_BRANCH (0 , 1 );
600
- return ;
601
596
}
602
597
/* They are identical, return false. */
603
598
/* This has to check for undefined variable errors when IS_UNDEF is possible. (only warns for IS_CV) */
604
599
FREE_OP1 ();
605
600
FREE_OP2 ();
606
601
ZEND_VM_SMART_BRANCH (0 , 0 );
607
- return ;
608
602
}
609
603
switch (Z_TYPE_P (op1 )) {
610
604
case IS_LONG :
0 commit comments