projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3c797a
)
Remove broken fix - second operand of GMP operation certainly can be 0 in general...
author
Stanislav Malyshev
<stas@php.net>
Mon, 25 Apr 2005 10:21:58 +0000
(10:21 +0000)
committer
Stanislav Malyshev
<stas@php.net>
Mon, 25 Apr 2005 10:21:58 +0000
(10:21 +0000)
ext/gmp/gmp.c
patch
|
blob
|
history
diff --git
a/ext/gmp/gmp.c
b/ext/gmp/gmp.c
index cc924f47ede58a756a9b167cad3d8852bc1145e2..eb1d85a120dd3f02f42ddf4e9ac3307d34eccac8 100644
(file)
--- a/
ext/gmp/gmp.c
+++ b/
ext/gmp/gmp.c
@@
-309,10
+309,6
@@
static inline void gmp_zval_binary_ui_op_ex(zval *return_value, zval **a_arg, zv
FETCH_GMP_ZVAL(gmpnum_b, b_arg);
}
- if (!Z_LVAL_PP(b_arg)) {
- RETURN_FALSE;
- }
-
INIT_GMP_NUM(gmpnum_result);
if(use_ui && gmp_ui_op) {
if(allow_ui_return) {
@@
-352,10
+348,6
@@
static inline void gmp_zval_binary_ui_op2_ex(zval *return_value, zval **a_arg, z
FETCH_GMP_ZVAL(gmpnum_b, b_arg);
}
- if (!Z_LVAL_PP(b_arg)) {
- RETURN_FALSE;
- }
-
INIT_GMP_NUM(gmpnum_result1);
INIT_GMP_NUM(gmpnum_result2);