cvs: ZendEngine2 / zend_operators.c
| From: | Derick Rethans | Date: | Mon, 15 Jul 2002 18:11:04 +0000 |
| Subject: | cvs: ZendEngine2 / zend_operators.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-260@lists.php.net to get a copy of this message | ||
derick Mon Jul 15 14:11:04 2002 EDT
Modified files:
/ZendEngine2 zend_operators.c
Log:
- MFH of the crap removal
Index: ZendEngine2/zend_operators.c
diff -u ZendEngine2/zend_operators.c:1.127 ZendEngine2/zend_operators.c:1.128
--- ZendEngine2/zend_operators.c:1.127 Mon Jul 15 00:11:13 2002
+++ ZendEngine2/zend_operators.c Mon Jul 15 14:11:04 2002
@@ -1450,9 +1450,6 @@
ZEND_API int increment_function(zval *op1)
{
switch (op1->type) {
- case IS_BOOL:
- op1->value.lval = !op1->value.lval;
- break;
case IS_LONG:
if(op1->value.lval == LONG_MAX) {
/* switch to double */
@@ -1515,9 +1512,6 @@
double dval;
switch (op1->type) {
- case IS_BOOL:
- op1->value.lval = !op1->value.lval;
- break;
case IS_LONG:
if(op1->value.lval == LONG_MIN) {
double d = (double)op1->value.lval;