From 02615a0632aca563f801d510e20711acdac0a233 Mon Sep 17 00:00:00 2001 From: vlefevre Date: Thu, 4 Aug 2016 20:31:01 +0000 Subject: [tests/tsi_op.c] Fixed a macro. There were no consequences except spurious null statements. (merged changeset r10724 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10728 280ebfd0-de03-0410-8827-d642c229c3f4 --- tests/tsi_op.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/tests/tsi_op.c b/tests/tsi_op.c index 84eb744b9..b40a1bd00 100644 --- a/tests/tsi_op.c +++ b/tests/tsi_op.c @@ -27,13 +27,15 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #include "mpfr-test.h" #define ERROR1(s,i,z,exp) \ - { \ - printf ("Error for " s " and i=%d\n", i); \ - printf ("Expected %s\n", exp); \ - printf ("Got "); mpfr_out_str (stdout, 16, 0, z, MPFR_RNDN); \ - putchar ('\n'); \ - exit(1); \ - } + do \ + { \ + printf ("Error for " s " and i=%d\n", i); \ + printf ("Expected %s\n", exp); \ + printf ("Got "); mpfr_out_str (stdout, 16, 0, z, MPFR_RNDN); \ + putchar ('\n'); \ + exit(1); \ + } \ + while (0) const struct { const char * op1; -- cgit v1.2.1