mirror of
https://github.com/php/php-src.git
synced 2024-11-26 11:23:47 +08:00
Fill in empty constructor in order to appease Sascha ;-)
More seriously, uninitialized values cause MSHUTDOWN to trap. Only an issue because assert was added to internal_functions.
This commit is contained in:
parent
8abf724678
commit
b9f27a4743
@ -88,6 +88,12 @@ PHP_INI_END()
|
||||
|
||||
static void php_assert_init_globals(php_assert_globals *assert_globals)
|
||||
{
|
||||
assert_globals->active = 0;
|
||||
assert_globals->bail = 0;
|
||||
assert_globals->warning = 1;
|
||||
assert_globals->quiet_eval = 0;
|
||||
assert_globals->default_callback = 0;
|
||||
assert_globals->callback = 0;
|
||||
}
|
||||
|
||||
PHP_MINIT_FUNCTION(assert)
|
||||
|
Loading…
Reference in New Issue
Block a user