From: Antony Dovgal Date: Tue, 20 Jun 2006 12:55:26 +0000 (+0000) Subject: MFH: initialize pointers X-Git-Tag: php-5.2.0RC1~281 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20a379fa7dffdf53745dc12e16d298a0d06b38f1;p=php MFH: initialize pointers --- 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;