math/gfreduce.c, math/mpreduce.c: Remove unused macro from testing code.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 10 Aug 2013 08:48:52 +0000 (09:48 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 10 Aug 2013 14:28:29 +0000 (15:28 +0100)
Must have been cut-and-paste lossage when the tests were added.

Also remove a spurious blank line.

math/gfreduce.c
math/mpreduce.c

index 45591dd..37703a4 100644 (file)
@@ -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;
index b148dd5..2193de6 100644 (file)
@@ -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;