]> granicus.if.org Git - php/commitdiff
Unused var
authorXinchen Hui <laruence@php.net>
Thu, 5 Mar 2015 15:09:58 +0000 (23:09 +0800)
committerXinchen Hui <laruence@php.net>
Thu, 5 Mar 2015 15:09:58 +0000 (23:09 +0800)
Zend/zend_hash.c

index ca319d37290c478c26fb234c76c0013014ca93dc..8a9a032e1673be42380f8c9eb228efe5806778a6 100644 (file)
@@ -174,7 +174,6 @@ static zend_always_inline void zend_hash_realloc(HashTable *ht, size_t new_size)
 
 static void zend_hash_packed_grow(HashTable *ht)
 {
-       size_t new_size;
        HT_ASSERT(GC_REFCOUNT(ht) == 1);
        if (ht->nTableSize >= HT_MAX_SIZE) {
                zend_error_noreturn(E_ERROR, "Possible integer overflow in memory allocation (%zu * %zu + %zu)", ht->nTableSize * 2, sizeof(Bucket), sizeof(Bucket));