Skip to content

Commit aa27e5e

Browse files
committed
ext/gmp: Remove now unused FETCH_GMP_ZVAL_DEP_DEP macro
1 parent 73318d3 commit aa27e5e

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
@@ -131,22 +131,6 @@ typedef struct _gmp_temp {
131131
mpz_clear(temp.num); \
132132
}
133133

134-
#define FETCH_GMP_ZVAL_DEP_DEP(gmpnumber, zval, temp, dep1, dep2, arg_pos) \
135-
if (IS_GMP(zval)) { \
136-
gmpnumber = GET_GMP_FROM_ZVAL(zval); \
137-
temp.is_used = 0; \
138-
} else { \
139-
mpz_init(temp.num); \
140-
if (convert_to_gmp(temp.num, zval, 0, arg_pos) == FAILURE) { \
141-
mpz_clear(temp.num); \
142-
FREE_GMP_TEMP(dep1); \
143-
FREE_GMP_TEMP(dep2); \
144-
RETURN_THROWS(); \
145-
} \
146-
temp.is_used = 1; \
147-
gmpnumber = temp.num; \
148-
}
149-
150134
#define FETCH_GMP_ZVAL_DEP(gmpnumber, zval, temp, dep, arg_pos) \
151135
if (IS_GMP(zval)) { \
152136
gmpnumber = GET_GMP_FROM_ZVAL(zval); \

0 commit comments

Comments
 (0)