summaryrefslogtreecommitdiff
path: root/src/rec_sqrt.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2010-12-17 13:15:46 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2010-12-17 13:15:46 +0000
commit6797ca56ed80fed4ee924af3e3059421f6698e93 (patch)
tree815b9eb1d8376f130488ef5d25ce93b6a27af444 /src/rec_sqrt.c
parent55776177f7f03bc579438a1bacfd6dddd590e1c4 (diff)
downloadmpfr-6797ca56ed80fed4ee924af3e3059421f6698e93.tar.gz
[src/rec_sqrt.c] Removed a variable that was used only once.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7302 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/rec_sqrt.c')
-rw-r--r--src/rec_sqrt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rec_sqrt.c b/src/rec_sqrt.c
index 8771e4bb2..963b18288 100644
--- a/src/rec_sqrt.c
+++ b/src/rec_sqrt.c
@@ -422,7 +422,6 @@ mpfr_rec_sqrt (mpfr_ptr r, mpfr_srcptr u, mpfr_rnd_t rnd_mode)
mp_size_t rn, wn;
int s, cy, inex;
mp_ptr x;
- int out_of_place;
MPFR_TMP_DECL(marker);
MPFR_LOG_FUNC (("x[%#R]=%R rnd=%d", u, u, rnd_mode),
@@ -493,8 +492,7 @@ mpfr_rec_sqrt (mpfr_ptr r, mpfr_srcptr u, mpfr_rnd_t rnd_mode)
{
MPFR_TMP_MARK (marker);
wn = LIMB_SIZE(wp);
- out_of_place = (r == u) || (wn > rn);
- if (out_of_place)
+ if (r == u || wn > rn)
x = MPFR_TMP_LIMBS_ALLOC (wn);
else
x = MPFR_MANT(r);