]> granicus.if.org Git - php/commitdiff
cleanup (we don't have to duplicate elements of module_registry)
authorDmitry Stogov <dmitry@zend.com>
Wed, 13 Aug 2014 13:05:18 +0000 (17:05 +0400)
committerDmitry Stogov <dmitry@zend.com>
Wed, 13 Aug 2014 13:05:18 +0000 (17:05 +0400)
sapi/cgi/cgi_main.c

index 16f11fd40c34005afc23542bf4a08773e6aaa238..ff3889dd6cc0c944986f7b408c5a16ce41c9b169 100644 (file)
@@ -238,7 +238,6 @@ static void print_modules(TSRMLS_D)
        HashTable sorted_registry;
 
        zend_hash_init(&sorted_registry, 64, 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);
        zend_hash_apply(&sorted_registry, print_module_info TSRMLS_CC);