From: Dmitry Stogov Date: Mon, 26 May 2014 07:42:58 +0000 (+0400) Subject: Removed useless initializations X-Git-Tag: POST_PHPNG_MERGE~285 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b66728aabbe4f2cb94b6f04a7ca2456d7a8a0b71;p=php Removed useless initializations --- diff --git a/Zend/zend_hash.c b/Zend/zend_hash.c index ee1dcb2501..b598b8efb1 100644 --- a/Zend/zend_hash.c +++ b/Zend/zend_hash.c @@ -1099,8 +1099,6 @@ ZEND_API void zend_array_dup(HashTable *target, HashTable *source) p = source->arData + idx; q = target->arData + idx; if (Z_TYPE(p->val) == IS_UNDEF) { - q->h = 0; - q->key = NULL; ZVAL_UNDEF(&q->val); continue; } @@ -1109,8 +1107,6 @@ ZEND_API void zend_array_dup(HashTable *target, HashTable *source) if (Z_TYPE_P(data) == IS_INDIRECT) { data = Z_INDIRECT_P(data); if (Z_TYPE_P(data) == IS_UNDEF) { - q->h = 0; - q->key = NULL; ZVAL_UNDEF(&q->val); continue; }