summaryrefslogtreecommitdiff
path: root/mpfr-impl.h
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-10-12 12:13:27 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-10-12 12:13:27 +0000
commit5e4710306880f4e7dd185033108b8d968a333138 (patch)
tree83be3b1cc4c3bdbd64436b776b4b3efe705e5e4f /mpfr-impl.h
parent29867ad2c9251dbd777da06f07aafd0729509afb (diff)
downloadmpfr-5e4710306880f4e7dd185033108b8d968a333138.tar.gz
added 'if' in MPFR_ASSERT to avoid compiler warning
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1231 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mpfr-impl.h')
-rw-r--r--mpfr-impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpfr-impl.h b/mpfr-impl.h
index 8ee6f6063..a6f17b7a8 100644
--- a/mpfr-impl.h
+++ b/mpfr-impl.h
@@ -34,7 +34,7 @@ typedef unsigned long int mp_exp_unsigned_t;
#include <assert.h>
#define MPFR_ASSERT(level, expr) \
- ((level) < MPFR_DEBUG_LEVEL && (assert(expr), 0))
+ if ((level) < MPFR_DEBUG_LEVEL && (assert(expr), 0))
#define MPFR_ASSERTN(expr) MPFR_ASSERT(16, expr)
#define MPFR_ASSERTD(expr) MPFR_ASSERT(32, expr)