cvs: pecl /apc apc_optimizer.c
| From: | Rasmus Lerdorf | Date: | Fri, 27 Jun 2003 00:18:38 +0000 |
| Subject: | cvs: pecl /apc apc_optimizer.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-331@lists.php.net to get a copy of this message | ||
rasmus Thu Jun 26 20:18:38 2003 EDT
Modified files:
/pecl/apc apc_optimizer.c
Log:
Silly casts
Index: pecl/apc/apc_optimizer.c
diff -u pecl/apc/apc_optimizer.c:3.17 pecl/apc/apc_optimizer.c:3.18
--- pecl/apc/apc_optimizer.c:3.17 Thu Jun 26 20:07:26 2003
+++ pecl/apc/apc_optimizer.c Thu Jun 26 20:18:38 2003
@@ -603,7 +603,7 @@
int tmp_var_result;
if(!is_constant_op(ops + i)) {
- return (Pair *)0;
+ return 0;
}
tmp_var_result = ops[i].result.u.var;
for( j = i+1; j < num_ops; j++) {
@@ -616,7 +616,7 @@
return cons(i, cons(j, 0));
}
}
- return (Pair *)0;
+ return 0;
}
static Pair* peephole_add_string(zend_op* ops, int i, int num_ops)