]> granicus.if.org Git - php/commitdiff
Remove unused argument
authorAnatol Belski <ab@php.net>
Wed, 14 Mar 2018 15:33:34 +0000 (16:33 +0100)
committerAnatol Belski <ab@php.net>
Wed, 14 Mar 2018 15:33:57 +0000 (16:33 +0100)
ext/hash/hash.c

index 9e1e7286dd5bae33f88f0c1c4bf74c6adc14b7a7..25d022a6e368b6581b4e2f46cbcbbd76bee5ff47 100644 (file)
@@ -937,7 +937,7 @@ static void mhash_init(INIT_FUNC_ARGS)
                        continue;
                }
 
-               len = slprintf(buf, 127, "MHASH_%s", algorithm.mhash_name, strlen(algorithm.mhash_name));
+               len = slprintf(buf, 127, "MHASH_%s", algorithm.mhash_name);
                zend_register_long_constant(buf, len, algorithm.value, CONST_CS | CONST_PERSISTENT, module_number);
        }