From: Mark Wooding Date: Sat, 10 Aug 2013 08:48:52 +0000 (+0100) Subject: math/gfreduce.c, math/mpreduce.c: Remove unused macro from testing code. X-Git-Tag: 2.1.6~8 X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/commitdiff_plain/ceb8d344ecb165be756a77ac8527c870b36945b2 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. --- 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;