diff options
author | Thomas Punt <tpunt@hotmail.co.uk> | 2017-03-15 17:09:26 +0000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2017-03-16 12:23:55 +0100 |
commit | 9d9defa29aafd3b8cfaed8c6e3f8e59c98d0fcb7 (patch) | |
tree | c5ce1f16785b7805b138fda12f89962dbda278fb /ext/bcmath/libbcmath/src/recmul.c | |
parent | 6ad0a6fb047f47532ccb4513600fb6c269ad610e (diff) | |
download | php-git-9d9defa29aafd3b8cfaed8c6e3f8e59c98d0fcb7.tar.gz |
Remove dead code from BCMath extension
Diffstat (limited to 'ext/bcmath/libbcmath/src/recmul.c')
-rw-r--r-- | ext/bcmath/libbcmath/src/recmul.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/ext/bcmath/libbcmath/src/recmul.c b/ext/bcmath/libbcmath/src/recmul.c index bc1682edcd..e397359790 100644 --- a/ext/bcmath/libbcmath/src/recmul.c +++ b/ext/bcmath/libbcmath/src/recmul.c @@ -57,17 +57,8 @@ new_sub_num (length, scale, value) { bc_num temp; -#ifdef SANDER_0 - if (_bc_Free_list != NULL) { - temp = _bc_Free_list; - _bc_Free_list = temp->n_next; - } else { -#endif - temp = (bc_num) emalloc (sizeof(bc_struct)); -#ifdef SANDER_0 - if (temp == NULL) bc_out_of_memory (); - } -#endif + temp = (bc_num) emalloc (sizeof(bc_struct)); + temp->n_sign = PLUS; temp->n_len = length; temp->n_scale = scale; |