summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-06-20 12:55:26 +0000
committerAntony Dovgal <tony2001@php.net>2006-06-20 12:55:26 +0000
commit20a379fa7dffdf53745dc12e16d298a0d06b38f1 (patch)
tree9a5774d3c7e38499f7a8cdf135f1b6377e9493d4 /sapi/cli/php_cli.c
parent0406556da48899c1bd61ab729538b53eb4ec58a9 (diff)
downloadphp-git-20a379fa7dffdf53745dc12e16d298a0d06b38f1.tar.gz
MFH: initialize pointers
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 684d7f9e45..2e6e8d6c3a 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -577,7 +577,7 @@ int main(int argc, char *argv[])
/* temporary locals */
int behavior=PHP_MODE_STANDARD;
#ifdef HAVE_REFLECTION
- char *reflection_what;
+ char *reflection_what = NULL;
#endif
int orig_optind=php_optind;
char *orig_optarg=php_optarg;
@@ -1193,7 +1193,7 @@ int main(int argc, char *argv[])
case PHP_MODE_REFLECTION_CLASS:
case PHP_MODE_REFLECTION_EXTENSION:
{
- zend_class_entry *pce;
+ zend_class_entry *pce = NULL;
zval *arg, *ref;
zend_execute_data execute_data;