summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2005-09-11 21:55:20 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2005-09-11 21:55:20 +0000
commit8c9d1cc3ee73fc666712b81a55e29032d78727fe (patch)
treec67fdec71a3c76815ae1899ae9bf84f5de819428 /tests
parentc0b2b000827c8fe9c1ea6b988a926f2fca7863cf (diff)
downloadmpfr-8c9d1cc3ee73fc666712b81a55e29032d78727fe.tar.gz
Fixed uninitialized variable (with gcc -std=c99).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3828 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r--tests/trint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/trint.c b/tests/trint.c
index d6d2de2ea..8b94e47d0 100644
--- a/tests/trint.c
+++ b/tests/trint.c
@@ -188,7 +188,7 @@ test_fct (double (*f)(double), int (*g)(), char *s, mp_rnd_t r)
static void
test_against_libc (void)
{
- mp_rnd_t r;
+ mp_rnd_t r = GMP_RNDN;
#if HAVE_ROUND
TEST_FCT (round);