From 5199904c5795fa5bbe758d25a54410c85589bf96 Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Sat, 2 Nov 2024 23:49:26 +0000 Subject: [PATCH] ext/gmp: Remove now unused FETCH_GMP_ZVAL_DEP_DEP macro --- ext/gmp/gmp.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c index 68af3cfaa23..21568862bd1 100644 --- a/ext/gmp/gmp.c +++ b/ext/gmp/gmp.c @@ -135,22 +135,6 @@ typedef struct _gmp_temp { mpz_clear(temp.num); \ } -#define FETCH_GMP_ZVAL_DEP_DEP(gmpnumber, zval, temp, dep1, dep2, arg_pos) \ -if (IS_GMP(zval)) { \ - gmpnumber = GET_GMP_FROM_ZVAL(zval); \ - temp.is_used = 0; \ -} else { \ - mpz_init(temp.num); \ - if (convert_to_gmp(temp.num, zval, 0, arg_pos) == FAILURE) { \ - mpz_clear(temp.num); \ - FREE_GMP_TEMP(dep1); \ - FREE_GMP_TEMP(dep2); \ - RETURN_THROWS(); \ - } \ - temp.is_used = 1; \ - gmpnumber = temp.num; \ -} - #define FETCH_GMP_ZVAL_DEP(gmpnumber, zval, temp, dep, arg_pos) \ if (IS_GMP(zval)) { \ gmpnumber = GET_GMP_FROM_ZVAL(zval); \