com php-src: remove unnecessary check: ext/opcache/zend_persi st_calc.c

From: Date: Mon, 07 Sep 2015 13:14:26 +0000
Subject: com php-src: remove unnecessary check: ext/opcache/zend_persi st_calc.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-88943@lists.php.net to get a copy of this message
Commit: 46792a9914cf0ab04cba01b9162c4954efafccc4 Author: Anatol Belski <ab@php.net> Mon, 7 Sep 2015 15:14:26 +0200 Parents: eaf96698c7e3229b0217ca3a408fb3b50b9bd333 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=46792a9914cf0ab04cba01b9162c4954efafccc4 Log: remove unnecessary check as it's unrelated to the size pre calculation Changed paths: M ext/opcache/zend_persist_calc.c Diff: diff --git a/ext/opcache/zend_persist_calc.c b/ext/opcache/zend_persist_calc.c index 3b8356a..d07e309 100644 --- a/ext/opcache/zend_persist_calc.c +++ b/ext/opcache/zend_persist_calc.c @@ -71,7 +71,6 @@ static void zend_hash_persist_calc(HashTable *ht, void (*pPersistElement)(zval * } } ADD_SIZE(hash_size * sizeof(uint32_t) + ht->nNumUsed * sizeof(Bucket)); - ZEND_ASSERT(((zend_uintptr_t)ZCG(mem) & 0x7) == 0); /* should be 8 byte aligned */ } else { ADD_SIZE(HT_USED_SIZE(ht)); }

« previous php.cvs (#88943) next »