summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2002-07-15 18:11:04 +0000
committerDerick Rethans <derick@php.net>2002-07-15 18:11:04 +0000
commitc652c4b5127c4dad41a228fa76bd954541f5056f (patch)
tree5a103ca7ac6b2fb185a027c34da1026c99c223d3 /Zend/zend_operators.c
parentbc5ea87e281aed931e64c55822c91cc29565c3f9 (diff)
downloadphp-git-c652c4b5127c4dad41a228fa76bd954541f5056f.tar.gz
- MFH of the crap removal
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r--Zend/zend_operators.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c
index 1de3364d21..5fdd1c1eb6 100644
--- a/Zend/zend_operators.c
+++ b/Zend/zend_operators.c
@@ -1450,9 +1450,6 @@ static void increment_string(zval *str)
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 @@ ZEND_API int decrement_function(zval *op1)
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;