From ceb8d344ecb165be756a77ac8527c870b36945b2 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sat, 10 Aug 2013 09:48:52 +0100 Subject: [PATCH] math/gfreduce.c, math/mpreduce.c: Remove unused macro from testing code. Must have been cut-and-paste lossage when the tests were added. Also remove a spurious blank line. --- math/gfreduce.c | 2 -- math/mpreduce.c | 3 --- 2 files changed, 5 deletions(-) diff --git a/math/gfreduce.c b/math/gfreduce.c index 45591ddf..37703a43 100644 --- a/math/gfreduce.c +++ b/math/gfreduce.c @@ -577,8 +577,6 @@ mp *gfreduce_exp(gfreduce *gr, mp *d, mp *a, mp *e) #ifdef TEST_RIG -#define MP(x) mp_readstring(MP_NEW, #x, 0, 0) - static int vreduce(dstr *v) { mp *d = *(mp **)v[0].buf; diff --git a/math/mpreduce.c b/math/mpreduce.c index b148dd5a..2193de6d 100644 --- a/math/mpreduce.c +++ b/math/mpreduce.c @@ -443,11 +443,8 @@ mp *mpreduce_exp(mpreduce *mr, mp *d, mp *a, mp *e) /*----- Test rig ----------------------------------------------------------*/ - #ifdef TEST_RIG -#define MP(x) mp_readstring(MP_NEW, #x, 0, 0) - static int vreduce(dstr *v) { mp *d = *(mp **)v[0].buf; -- 2.11.0