From 9405bc557979f69135b2b71f384d82e80c0393db Mon Sep 17 00:00:00 2001 From: Xuefer Date: Thu, 31 May 2007 03:23:20 +0000 Subject: [PATCH] init global variables git-svn-id: svn://svn.lighttpd.net/xcache/trunk@403 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- xcache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xcache.c b/xcache.c index 99db66e..e287d7d 100644 --- a/xcache.c +++ b/xcache.c @@ -86,8 +86,8 @@ static xc_cache_t **xc_php_caches = NULL; static xc_cache_t **xc_var_caches = NULL; static zend_bool xc_initized = 0; -static zend_compile_file_t *old_compile_file; -static zend_llist_element *xc_llist_zend_extension; +static zend_compile_file_t *old_compile_file = NULL; +static zend_llist_element *xc_llist_zend_extension = NULL; static zend_bool xc_test = 0; static zend_bool xc_readonly_protection = 0; @@ -2914,7 +2914,7 @@ zend_module_entry xcache_module_entry = { ZEND_GET_MODULE(xcache) #endif /* }}} */ -static startup_func_t xc_last_ext_startup; +static startup_func_t xc_last_ext_startup = NULL; static int xc_zend_startup_last(zend_extension *extension) /* {{{ */ { /* restore */