]> granicus.if.org Git - php/commitdiff
Unused vars
authorXinchen Hui <laruence@php.net>
Sat, 21 Feb 2015 03:02:20 +0000 (11:02 +0800)
committerXinchen Hui <laruence@php.net>
Sat, 21 Feb 2015 03:02:20 +0000 (11:02 +0800)
ext/opcache/zend_accelerator_util_funcs.c

index 2e7f0c8da5af94de4ab8323bd6289f48e9e51e0b..ae6e8c855588e8f3bb27777a5d33d78d1f706cce 100644 (file)
@@ -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;