Skip to content

Commit 5199904

Browse files
committed
ext/gmp: Remove now unused FETCH_GMP_ZVAL_DEP_DEP macro
1 parent fabfb6f commit 5199904

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

ext/gmp/gmp.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -135,22 +135,6 @@ typedef struct _gmp_temp {
135135
mpz_clear(temp.num); \
136136
}
137137

138-
#define FETCH_GMP_ZVAL_DEP_DEP(gmpnumber, zval, temp, dep1, dep2, arg_pos) \
139-
if (IS_GMP(zval)) { \
140-
gmpnumber = GET_GMP_FROM_ZVAL(zval); \
141-
temp.is_used = 0; \
142-
} else { \
143-
mpz_init(temp.num); \
144-
if (convert_to_gmp(temp.num, zval, 0, arg_pos) == FAILURE) { \
145-
mpz_clear(temp.num); \
146-
FREE_GMP_TEMP(dep1); \
147-
FREE_GMP_TEMP(dep2); \
148-
RETURN_THROWS(); \
149-
} \
150-
temp.is_used = 1; \
151-
gmpnumber = temp.num; \
152-
}
153-
154138
#define FETCH_GMP_ZVAL_DEP(gmpnumber, zval, temp, dep, arg_pos) \
155139
if (IS_GMP(zval)) { \
156140
gmpnumber = GET_GMP_FROM_ZVAL(zval); \

0 commit comments

Comments
 (0)