summary refs log tree commit diff
path: root/math/atest-exp2.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-02-19 21:20:44 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-02-19 21:20:44 +0530
commite4f223248ebf4bfaf5e300af96aacd0ddc6c30ed (patch)
treea70c833254dcc766377365c31ef0d450c7a9c37f /math/atest-exp2.c
parent55e4107b2c70b222b5ceb88d9c0ca68f9699b9ce (diff)
downloadglibc-e4f223248ebf4bfaf5e300af96aacd0ddc6c30ed.tar.gz
glibc-e4f223248ebf4bfaf5e300af96aacd0ddc6c30ed.tar.xz
glibc-e4f223248ebf4bfaf5e300af96aacd0ddc6c30ed.zip
Fix some testsuite build warning fixes in libm
Diffstat (limited to 'math/atest-exp2.c')
-rw-r--r--math/atest-exp2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/atest-exp2.c b/math/atest-exp2.c
index b05d43b407..20836ca0dc 100644
--- a/math/atest-exp2.c
+++ b/math/atest-exp2.c
@@ -102,7 +102,7 @@ exp_mpn (mp1 ex, mp1 x)
    unsigned int n;
    mp1 xp;
    mp2 tmp;
-   mp_limb_t chk, round;
+   mp_limb_t chk;
    mp1 tol;
 
    memset (xp, 0, sizeof (mp1));
@@ -120,7 +120,7 @@ exp_mpn (mp1 ex, mp1 x)
        mpn_mul_n (tmp, xp, x, SZ);
        assert(tmp[SZ * 2 - 1] == 0);
        if (n > 0)
-	 round = mpn_divmod_1 (xp, tmp + FRAC / mpbpl, SZ, n);
+	 mpn_divmod_1 (xp, tmp + FRAC / mpbpl, SZ, n);
        chk = mpn_add_n (ex, ex, xp, SZ);
        assert (chk == 0);
        ++n;