From: Anatol Belski Date: Mon, 7 Sep 2015 13:14:26 +0000 (+0200) Subject: remove unnecessary check X-Git-Tag: php-7.1.0alpha1~1227 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46792a9914cf0ab04cba01b9162c4954efafccc4;p=php remove unnecessary check as it's unrelated to the size pre calculation --- diff --git a/ext/opcache/zend_persist_calc.c b/ext/opcache/zend_persist_calc.c index 3b8356ae7a..d07e309faa 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)); }