From 96873fecef3f690a3fec5f9400052fd9d3a7dba5 Mon Sep 17 00:00:00 2001 From: foobar Date: Fri, 2 Sep 2005 08:24:14 +0000 Subject: [PATCH] it is good idea to return something always --- main/php_ini.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main/php_ini.c b/main/php_ini.c index a86dd8ac52..82db68c6ad 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -258,9 +258,7 @@ static void pvalue_config_destructor(zval *pvalue) */ int php_init_config_hash(void) { - if (zend_hash_init(&configuration_hash, 0, NULL, (dtor_func_t) pvalue_config_destructor, 1) == FAILURE) { - return FAILURE; - } + return zend_hash_init(&configuration_hash, 0, NULL, (dtor_func_t) pvalue_config_destructor, 1); } /* }}} */ -- 2.40.0