com php-src: cleanup: ext/standard/info.c
| From: | Dmitry Stogov | Date: | Wed, 13 Aug 2014 18:21:51 +0000 |
| Subject: | com php-src: cleanup: ext/standard/info.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-79844@lists.php.net to get a copy of this message | ||
Commit: bb7d9005b5e31bb4004b0047b98c79f135585a38
Author: Dmitry Stogov <dmitry@zend.com> Wed, 13 Aug 2014 22:21:51 +0400
Parents: 01c8aee7d20e6c2a466fad3592cff3d00fbd5aad
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bb7d9005b5e31bb4004b0047b98c79f135585a38
Log:
cleanup
Changed paths:
M ext/standard/info.c
Diff:
diff --git a/ext/standard/info.c b/ext/standard/info.c
index 67ca2ad..4724946 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -855,7 +855,6 @@ PHPAPI void php_print_info(int flag TSRMLS_DC)
HashTable sorted_registry;
zend_hash_init(&sorted_registry, zend_hash_num_elements(&module_registry), NULL, NULL,
1);
-//??? zend_hash_copy(&sorted_registry, &module_registry, NULL, &tmp,
sizeof(zend_module_entry));
zend_hash_copy(&sorted_registry, &module_registry, NULL);
zend_hash_sort(&sorted_registry, zend_qsort, module_name_cmp, 0 TSRMLS_CC);