diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-05-21 07:01:17 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-05-21 07:01:17 +0000 |
commit | 4aa2e4229de04c3b3d3a6b3bd339a20cba1ea93e (patch) | |
tree | 44b83e87076766b959074490387e89caff0b7f36 /lngamma.c | |
parent | d028776332821effd94d67cbcba8282e09e14126 (diff) | |
download | mpfr-4aa2e4229de04c3b3d3a6b3bd339a20cba1ea93e.tar.gz |
got rid of false (?) compiler warnings for uninitialized values
-> we might want to revert this change if we find a better solution and/or
if the problem is fixed in gcc
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5357 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'lngamma.c')
-rw-r--r-- | lngamma.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -157,7 +157,8 @@ GAMMA_FUNC (mpfr_ptr y, mpfr_srcptr z0, mp_rnd_t rnd) mp_prec_t precy, w; /* working precision */ mpfr_t s, t, u, v, z; unsigned long m, k, maxm; - mpz_t *B; + mpz_t *B = NULL; /* initialize to NULL to get rid of false compiler warning + with gcc <= 4.3 */ int inexact, compared; mp_exp_t err_s, err_t; unsigned long Bm = 0; /* number of allocated B[] */ |