cvs: ZendEngine2 / zend_compile.c
| From: | Andi Gutmans | Date: | Wed, 17 Jul 2002 18:39:26 +0000 |
| Subject: | cvs: ZendEngine2 / zend_compile.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-266@lists.php.net to get a copy of this message | ||
andi Wed Jul 17 14:39:26 2002 EDT
Modified files:
/ZendEngine2 zend_compile.c
Log:
- Remove code which wasn't supposed to go into the patch.
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.294 ZendEngine2/zend_compile.c:1.295
--- ZendEngine2/zend_compile.c:1.294 Wed Jul 17 14:36:29 2002
+++ ZendEngine2/zend_compile.c Wed Jul 17 14:39:26 2002
@@ -918,9 +918,6 @@
op_array.scope = CG(active_class_entry);
if (is_method) {
- char *foo;
-
- foo = CG(active_class_entry)->name;
zend_hash_update(&CG(active_class_entry)->function_table, name, name_len+1, &op_array,
sizeof(zend_op_array), (void **) &CG(active_op_array));
if ((CG(active_class_entry)->name_length == (uint) name_len) &&
(!memcmp(CG(active_class_entry)->name, name, name_len))) {
CG(active_class_entry)->constructor = (zend_function *) CG(active_op_array);