diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2012-05-18 10:18:36 +0200 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2012-05-18 10:18:36 +0200 |
commit | 0bdd972d1230a179f586d1a51e250e442f9057f0 (patch) | |
tree | 5d5e4a1a8dfb2319fd5a0cdc1a5dce9c6cfee7cc | |
parent | b5ad88208d88fc0a46c05d947e6c16dd99dbc17c (diff) | |
download | gmp-0bdd972d1230a179f586d1a51e250e442f9057f0.tar.gz |
mpz/cmpabs_d.c: Remove an unused branch.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | mpz/cmpabs_d.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -10,6 +10,7 @@ * tests/mpq/t-equal.c (check_various): Check different den-size. * mpn/generic/mullo_n.c: Disable MAYBE_ if WANT_FAT_BINARY. + * mpz/cmpabs_d.c: Remove an unused branch. 2012-05-16 Torbjorn Granlund <tege@gmplib.org> diff --git a/mpz/cmpabs_d.c b/mpz/cmpabs_d.c index f7aadc262..57a74ba35 100644 --- a/mpz/cmpabs_d.c +++ b/mpz/cmpabs_d.c @@ -62,7 +62,7 @@ mpz_cmpabs_d (mpz_srcptr z, double d) if (d == 0.0) return (zsize != 0); if (zsize == 0) - return (d != 0 ? -1 : 0); + return -1; /* d != 0 */ /* 2. Ignore signs. */ zsize = ABS(zsize); |