summary refs log tree commit diff
path: root/math/atest-exp.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-exp.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-exp.c')
-rw-r--r--math/atest-exp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/atest-exp.c b/math/atest-exp.c
index 2678e743ce..d76b9125ca 100644
--- a/math/atest-exp.c
+++ b/math/atest-exp.c
@@ -61,7 +61,7 @@ exp_mpn (mp1 ex, mp1 x)
    unsigned n;
    mp1 xp;
    mp2 tmp;
-   mp_limb_t chk, round;
+   mp_limb_t chk;
    mp1 tol;
 
    memset (xp, 0, sizeof (mp1));
@@ -79,7 +79,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++;