]> granicus.if.org Git - php/commitdiff
remove unnecessary check
authorAnatol Belski <ab@php.net>
Mon, 7 Sep 2015 13:14:26 +0000 (15:14 +0200)
committerAnatol Belski <ab@php.net>
Mon, 7 Sep 2015 13:14:26 +0000 (15:14 +0200)
as it's unrelated to the size pre calculation

ext/opcache/zend_persist_calc.c

index 3b8356ae7a22e491a5952ebe4c630fae67e57242..d07e309faaa02a60081e5a063b959ef575a876b9 100644 (file)
@@ -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));
        }