Skip to content

Commit 25c0e2e

Browse files
committed
Remove unused functions in zend_test for *NoOperation classes
1 parent 6d070f5 commit 25c0e2e

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
@@ -955,11 +955,6 @@ static zend_object *long_castable_no_operation_object_create(zend_class_entry *c
955955
return long_castable_no_operation_object_create_ex(ce, 0);
956956
}
957957

958-
static inline void long_castable_no_operation_create(zval *target, zend_long l)
959-
{
960-
ZVAL_OBJ(target, long_castable_no_operation_object_create_ex(long_castable_no_operation_ce, l));
961-
}
962-
963958
static zend_result long_castable_no_operation_cast_object(zend_object *obj, zval *result, int type)
964959
{
965960
if (type == IS_LONG) {
@@ -996,11 +991,6 @@ static zend_object *float_castable_no_operation_object_create(zend_class_entry *
996991
return float_castable_no_operation_object_create_ex(ce, 0.0);
997992
}
998993

999-
static inline void float_castable_no_operation_create(zval *target, double d)
1000-
{
1001-
ZVAL_OBJ(target, float_castable_no_operation_object_create_ex(float_castable_no_operation_ce, d));
1002-
}
1003-
1004994
static zend_result float_castable_no_operation_cast_object(zend_object *obj, zval *result, int type)
1005995
{
1006996
if (type == IS_DOUBLE) {
@@ -1039,11 +1029,6 @@ static zend_object *numeric_castable_no_operation_object_create(zend_class_entry
10391029
return numeric_castable_no_operation_object_create_ex(ce, &tmp);
10401030
}
10411031

1042-
static inline void numeric_castable_no_operation_create(zval *target, const zval *n)
1043-
{
1044-
ZVAL_OBJ(target, numeric_castable_no_operation_object_create_ex(numeric_castable_no_operation_ce, n));
1045-
}
1046-
10471032
static zend_result numeric_castable_no_operation_cast_object(zend_object *obj, zval *result, int type)
10481033
{
10491034
if (type == _IS_NUMBER) {

0 commit comments

Comments
 (0)