Skip to content

Commit c55a0f2

Browse files
committed
Remove unused functions in zend_test for *NoOperation classes
1 parent 7c0c4ce commit c55a0f2

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

ext/zend_test/test.c

-15
Original file line numberDiff line numberDiff line change
@@ -722,11 +722,6 @@ static zend_object *long_castable_no_operation_object_create(zend_class_entry *c
722722
return long_castable_no_operation_object_create_ex(ce, 0);
723723
}
724724

725-
static inline void long_castable_no_operation_create(zval *target, zend_long l)
726-
{
727-
ZVAL_OBJ(target, long_castable_no_operation_object_create_ex(long_castable_no_operation_ce, l));
728-
}
729-
730725
static zend_result long_castable_no_operation_cast_object(zend_object *obj, zval *result, int type)
731726
{
732727
if (type == IS_LONG) {
@@ -763,11 +758,6 @@ static zend_object *float_castable_no_operation_object_create(zend_class_entry *
763758
return float_castable_no_operation_object_create_ex(ce, 0.0);
764759
}
765760

766-
static inline void float_castable_no_operation_create(zval *target, double d)
767-
{
768-
ZVAL_OBJ(target, float_castable_no_operation_object_create_ex(float_castable_no_operation_ce, d));
769-
}
770-
771761
static zend_result float_castable_no_operation_cast_object(zend_object *obj, zval *result, int type)
772762
{
773763
if (type == IS_DOUBLE) {
@@ -806,11 +796,6 @@ static zend_object *numeric_castable_no_operation_object_create(zend_class_entry
806796
return numeric_castable_no_operation_object_create_ex(ce, &tmp);
807797
}
808798

809-
static inline void numeric_castable_no_operation_create(zval *target, const zval *n)
810-
{
811-
ZVAL_OBJ(target, numeric_castable_no_operation_object_create_ex(numeric_castable_no_operation_ce, n));
812-
}
813-
814799
static zend_result numeric_castable_no_operation_cast_object(zend_object *obj, zval *result, int type)
815800
{
816801
if (type == _IS_NUMBER) {

0 commit comments

Comments
 (0)