diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-12-05 08:16:00 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-12-05 08:16:00 +0000 |
commit | 54716056a102ae037bc1bbee3f13054db45b9961 (patch) | |
tree | 4e73d886a6b1c002bdb4e335c87a73030e3f97ba /tests/terandom.c | |
parent | 9112dfd67ffd33a0f896ecf9afc6e85ac1950966 (diff) | |
download | mpfr-54716056a102ae037bc1bbee3f13054db45b9961.tar.gz |
fixed compiler warnings with mini-gmp
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11894 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/terandom.c')
-rw-r--r-- | tests/terandom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/terandom.c b/tests/terandom.c index 31a1c595f..8859ce848 100644 --- a/tests/terandom.c +++ b/tests/terandom.c @@ -46,7 +46,6 @@ test_erandom (long nbtests, mpfr_prec_t prec, mpfr_rnd_t rnd, int verbose) { mpfr_t *t; - mpfr_t av, va, tmp; int i, inexact; t = (mpfr_t *) tests_allocate (nbtests * sizeof (mpfr_t)); @@ -68,6 +67,8 @@ test_erandom (long nbtests, mpfr_prec_t prec, mpfr_rnd_t rnd, #if defined(HAVE_STDARG) && !defined(MPFR_USE_MINI_GMP) if (verbose) { + mpfr_t av, va, tmp; + mpfr_init2 (av, prec); mpfr_init2 (va, prec); mpfr_init2 (tmp, prec); |