com php-src: Unused vars: ext/opcache/zend_accelerator_util _funcs.c
| From: | Xinchen Hui | Date: | Sat, 21 Feb 2015 03:02:20 +0000 |
| Subject: | com php-src: Unused vars: ext/opcache/zend_accelerator_util _funcs.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85037@lists.php.net to get a copy of this message | ||
Commit: 2a724becc17afec0598d3d803da5ea30ead1eb46
Author: Xinchen Hui <laruence@php.net> Sat, 21 Feb 2015 11:02:20 +0800
Parents: 1c31ad4f0d2e73fb32b9c06f08b42ac617da6f76
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2a724becc17afec0598d3d803da5ea30ead1eb46
Log:
Unused vars
Changed paths:
M ext/opcache/zend_accelerator_util_funcs.c
Diff:
diff --git a/ext/opcache/zend_accelerator_util_funcs.c b/ext/opcache/zend_accelerator_util_funcs.c
index 2e7f0c8..ae6e8c8 100644
--- a/ext/opcache/zend_accelerator_util_funcs.c
+++ b/ext/opcache/zend_accelerator_util_funcs.c
@@ -370,8 +370,6 @@ static void zend_hash_clone_methods(HashTable *ht, HashTable *source, zend_class
uint idx;
Bucket *p, *q;
zend_ulong nIndex;
- zend_class_entry *new_ce;
- zend_function *new_prototype;
zend_op_array *new_entry;
ht->nTableSize = source->nTableSize;
@@ -427,7 +425,6 @@ static void zend_hash_clone_prop_info(HashTable *ht, HashTable *source, zend_cla
uint idx;
Bucket *p, *q;
zend_ulong nIndex;
- zend_class_entry *new_ce;
zend_property_info *prop_info;
ht->nTableSize = source->nTableSize;
@@ -494,8 +491,6 @@ static void zend_class_copy_ctor(zend_class_entry **pce)
{
zend_class_entry *ce = *pce;
zend_class_entry *old_ce = ce;
- zend_class_entry *new_ce;
- zend_function *new_func;
*pce = ce = ARENA_REALLOC(old_ce);
ce->refcount = 1;