summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2007-08-08 21:11:53 +0000
committerStanislav Malyshev <stas@php.net>2007-08-08 21:11:53 +0000
commit1e7a23a376e449247d307b17f81ec3a5559388bb (patch)
tree5f618d839d73c5c4fab02ddcecd3790df1cc1944
parent6c8312fa03a2022bea896a6ee6316e4e4c398d53 (diff)
downloadphp-git-1e7a23a376e449247d307b17f81ec3a5559388bb.tar.gz
initialize values
-rw-r--r--sapi/embed/php_embed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/embed/php_embed.c b/sapi/embed/php_embed.c
index e1b08099df..fcf0b158d5 100644
--- a/sapi/embed/php_embed.c
+++ b/sapi/embed/php_embed.c
@@ -143,8 +143,8 @@ int php_embed_init(int argc, char **argv PTSRMLS_DC)
{
zend_llist global_vars;
#ifdef ZTS
- sapi_globals_struct *sapi_globals;
- void ***tsrm_ls;
+ sapi_globals_struct *sapi_globals = NULL;
+ void ***tsrm_ls = NULL;
#endif
int ini_entries_len = 0;