Hi,

this patch removes a semicolon after "do {} while (0)" in MPN_MUL_N_RECURSE. This allows the macro to be used in if-then-elses without curly braces.

Committed as obvious.

Thanks,
- Tom

2017-11-02  Tom de Vries  <t...@codesourcery.com>

        PR other/82784
        * printf/gmp-impl.h (MPN_MUL_N_RECURSE): Remove semicolon after
        "do {} while (0)".

Signed-off-by: Tom de Vries <t...@codesourcery.com>
---
      libquadmath/printf/gmp-impl.h | 2 +-
      1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/libquadmath/printf/gmp-impl.h b/libquadmath/printf/gmp-impl.h
index 969574c..94d88ef 100644
--- a/libquadmath/printf/gmp-impl.h
+++ b/libquadmath/printf/gmp-impl.h
@@ -91,7 +91,7 @@ typedef unsigned int UHWtype;
       impn_mul_n_basecase (prodp, up, vp, size);			\
     else								\
       impn_mul_n (prodp, up, vp, size, tspace);			\
-  } while (0);
+  } while (0)
 
 #define __MPN(x) __quadmath_mpn_##x
 






Reply via email to