From b9f27a4743e153edbcb18afcc23a944a70950d81 Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Tue, 7 Dec 1999 21:07:42 +0000 Subject: [PATCH] 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. --- ext/standard/assert.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ext/standard/assert.c b/ext/standard/assert.c index 1201c5014be..094f832c83c 100644 --- a/ext/standard/assert.c +++ b/ext/standard/assert.c @@ -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)