mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
Remove stale code
This commit is contained in:
parent
6562e98afa
commit
fc1cdda10d
@ -103,10 +103,6 @@ static void php_build_argv(char *s, zval *track_vars_array ELS_DC PLS_DC);
|
||||
|
||||
void *gLock; /*mutex variable */
|
||||
|
||||
|
||||
/* True globals (no need for thread safety) */
|
||||
HashTable configuration_hash;
|
||||
|
||||
#define SAFE_FILENAME(f) ((f)?(f):"-")
|
||||
|
||||
static PHP_INI_MH(OnSetPrecision)
|
||||
|
@ -136,8 +136,7 @@ static void php_config_ini_parser_cb(zval *arg1, zval *arg2, int callback_type,
|
||||
} else {
|
||||
zend_hash_update(&configuration_hash, Z_STRVAL_P(arg1), Z_STRLEN_P(arg1)+1, arg2, sizeof(zval), (void **) &entry);
|
||||
Z_STRVAL_P(entry) = zend_strndup(Z_STRVAL_P(entry), Z_STRLEN_P(entry));
|
||||
php_alter_ini_entry(Z_STRVAL_P(arg1), Z_STRLEN_P(arg1)+1, Z_STRVAL_P(arg2), Z_STRLEN_P(arg2)+1, PHP_INI_SYSTEM, PHP_INI_STAGE_STARTUP);
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
case ZEND_INI_PARSER_SECTION:
|
||||
|
Loading…
Reference in New Issue
Block a user