summaryrefslogtreecommitdiff
path: root/ext/bcmath/libbcmath
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bcmath/libbcmath')
-rw-r--r--ext/bcmath/libbcmath/src/add.c1
-rw-r--r--ext/bcmath/libbcmath/src/compare.c1
-rw-r--r--ext/bcmath/libbcmath/src/debug.c1
-rw-r--r--ext/bcmath/libbcmath/src/div.c1
-rw-r--r--ext/bcmath/libbcmath/src/divmod.c1
-rw-r--r--ext/bcmath/libbcmath/src/doaddsub.c1
-rw-r--r--ext/bcmath/libbcmath/src/init.c1
-rw-r--r--ext/bcmath/libbcmath/src/int2num.c1
-rw-r--r--ext/bcmath/libbcmath/src/nearzero.c1
-rw-r--r--ext/bcmath/libbcmath/src/neg.c1
-rw-r--r--ext/bcmath/libbcmath/src/num2long.c1
-rw-r--r--ext/bcmath/libbcmath/src/num2str.c3
-rw-r--r--ext/bcmath/libbcmath/src/outofmem.c1
-rw-r--r--ext/bcmath/libbcmath/src/output.c1
-rw-r--r--ext/bcmath/libbcmath/src/raise.c1
-rw-r--r--ext/bcmath/libbcmath/src/raisemod.c1
-rw-r--r--ext/bcmath/libbcmath/src/rmzero.c1
-rw-r--r--ext/bcmath/libbcmath/src/sqrt.c1
-rw-r--r--ext/bcmath/libbcmath/src/str2num.c1
-rw-r--r--ext/bcmath/libbcmath/src/sub.c1
-rw-r--r--ext/bcmath/libbcmath/src/zero.c1
21 files changed, 1 insertions, 22 deletions
diff --git a/ext/bcmath/libbcmath/src/add.c b/ext/bcmath/libbcmath/src/add.c
index 150f27c53c..389fe8e43d 100644
--- a/ext/bcmath/libbcmath/src/add.c
+++ b/ext/bcmath/libbcmath/src/add.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/compare.c b/ext/bcmath/libbcmath/src/compare.c
index cb7d04e071..f65f697585 100644
--- a/ext/bcmath/libbcmath/src/compare.c
+++ b/ext/bcmath/libbcmath/src/compare.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/debug.c b/ext/bcmath/libbcmath/src/debug.c
index 0ff7d652cd..b711c06143 100644
--- a/ext/bcmath/libbcmath/src/debug.c
+++ b/ext/bcmath/libbcmath/src/debug.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/div.c b/ext/bcmath/libbcmath/src/div.c
index b326ea1250..1be9a09b5c 100644
--- a/ext/bcmath/libbcmath/src/div.c
+++ b/ext/bcmath/libbcmath/src/div.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/divmod.c b/ext/bcmath/libbcmath/src/divmod.c
index 848a4cc850..b376bb46b7 100644
--- a/ext/bcmath/libbcmath/src/divmod.c
+++ b/ext/bcmath/libbcmath/src/divmod.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/doaddsub.c b/ext/bcmath/libbcmath/src/doaddsub.c
index 991c294e99..e0db6a99b9 100644
--- a/ext/bcmath/libbcmath/src/doaddsub.c
+++ b/ext/bcmath/libbcmath/src/doaddsub.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/init.c b/ext/bcmath/libbcmath/src/init.c
index bd73da2a9d..227a34fadf 100644
--- a/ext/bcmath/libbcmath/src/init.c
+++ b/ext/bcmath/libbcmath/src/init.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/int2num.c b/ext/bcmath/libbcmath/src/int2num.c
index 79a6e19075..8da0c8e0ed 100644
--- a/ext/bcmath/libbcmath/src/int2num.c
+++ b/ext/bcmath/libbcmath/src/int2num.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/nearzero.c b/ext/bcmath/libbcmath/src/nearzero.c
index 933e501108..44d0582d79 100644
--- a/ext/bcmath/libbcmath/src/nearzero.c
+++ b/ext/bcmath/libbcmath/src/nearzero.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/neg.c b/ext/bcmath/libbcmath/src/neg.c
index 65081dbef6..aeebd0bbb8 100644
--- a/ext/bcmath/libbcmath/src/neg.c
+++ b/ext/bcmath/libbcmath/src/neg.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/num2long.c b/ext/bcmath/libbcmath/src/num2long.c
index 81e82a6fac..3974dcf286 100644
--- a/ext/bcmath/libbcmath/src/num2long.c
+++ b/ext/bcmath/libbcmath/src/num2long.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/num2str.c b/ext/bcmath/libbcmath/src/num2str.c
index 7316d32a14..93026815be 100644
--- a/ext/bcmath/libbcmath/src/num2str.c
+++ b/ext/bcmath/libbcmath/src/num2str.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
@@ -51,7 +50,7 @@ zend_string
int index, signch;
/* Allocate the string memory. */
- signch = ( num->n_sign == PLUS ? 0 : 1 ); /* Number of sign chars. */
+ signch = num->n_sign != PLUS; /* Number of sign chars. */
if (scale > 0)
str = zend_string_alloc(num->n_len + scale + signch + 1, 0);
else
diff --git a/ext/bcmath/libbcmath/src/outofmem.c b/ext/bcmath/libbcmath/src/outofmem.c
index 7c67509686..e1e3f5317f 100644
--- a/ext/bcmath/libbcmath/src/outofmem.c
+++ b/ext/bcmath/libbcmath/src/outofmem.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/output.c b/ext/bcmath/libbcmath/src/output.c
index 9fbca0f4c4..e172662002 100644
--- a/ext/bcmath/libbcmath/src/output.c
+++ b/ext/bcmath/libbcmath/src/output.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/raise.c b/ext/bcmath/libbcmath/src/raise.c
index 81ee03aeed..51ce6b99f0 100644
--- a/ext/bcmath/libbcmath/src/raise.c
+++ b/ext/bcmath/libbcmath/src/raise.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/raisemod.c b/ext/bcmath/libbcmath/src/raisemod.c
index a3154b55cd..9b371cc4e0 100644
--- a/ext/bcmath/libbcmath/src/raisemod.c
+++ b/ext/bcmath/libbcmath/src/raisemod.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/rmzero.c b/ext/bcmath/libbcmath/src/rmzero.c
index 93cc26d12d..b9ecc75720 100644
--- a/ext/bcmath/libbcmath/src/rmzero.c
+++ b/ext/bcmath/libbcmath/src/rmzero.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/sqrt.c b/ext/bcmath/libbcmath/src/sqrt.c
index a7c4d732a6..d37d26b8ca 100644
--- a/ext/bcmath/libbcmath/src/sqrt.c
+++ b/ext/bcmath/libbcmath/src/sqrt.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/str2num.c b/ext/bcmath/libbcmath/src/str2num.c
index f38d341570..9750c4720c 100644
--- a/ext/bcmath/libbcmath/src/str2num.c
+++ b/ext/bcmath/libbcmath/src/str2num.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/sub.c b/ext/bcmath/libbcmath/src/sub.c
index 2278b0f14f..7392de6385 100644
--- a/ext/bcmath/libbcmath/src/sub.c
+++ b/ext/bcmath/libbcmath/src/sub.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/ext/bcmath/libbcmath/src/zero.c b/ext/bcmath/libbcmath/src/zero.c
index d732dddfcd..1e7f1ccdd4 100644
--- a/ext/bcmath/libbcmath/src/zero.c
+++ b/ext/bcmath/libbcmath/src/zero.c
@@ -31,7 +31,6 @@
#include <config.h>
#include <stdio.h>
-#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>