com php-src: Remove superfluous branch: Zend/zend_hash.c
| From: | Joe Watkins | Date: | Fri, 23 Jun 2017 06:51:32 +0000 |
| Subject: | com php-src: Remove superfluous branch: Zend/zend_hash.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98174@lists.php.net to get a copy of this message | ||
Commit: b1301a0686c5f573395b752295e569730fbd7de7
Author: Thomas Punt <tpunt@hotmail.co.uk> Wed, 21 Jun 2017 21:47:22 +0100
Committer: Joe Watkins <krakjoe@php.net> Fri, 23 Jun 2017 07:51:32 +0100
Parents: 660250f4da18f931f9240c4b52fe549b1fde4a69
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b1301a0686c5f573395b752295e569730fbd7de7
Log:
Remove superfluous branch
Changed paths:
M Zend/zend_hash.c
Diff:
diff --git a/Zend/zend_hash.c b/Zend/zend_hash.c
index d794b3b..9a1b10b 100644
--- a/Zend/zend_hash.c
+++ b/Zend/zend_hash.c
@@ -291,7 +291,6 @@ static uint32_t zend_array_recalc_elements(HashTable *ht)
uint32_t num = ht->nNumOfElements;
ZEND_HASH_FOREACH_VAL(ht, val) {
- if (Z_TYPE_P(val) == IS_UNDEF) continue;
if (Z_TYPE_P(val) == IS_INDIRECT) {
if (UNEXPECTED(Z_TYPE_P(Z_INDIRECT_P(val)) == IS_UNDEF)) {
num--;