]> granicus.if.org Git - php/commitdiff
MFH: initialize pointers
authorAntony Dovgal <tony2001@php.net>
Tue, 20 Jun 2006 12:55:26 +0000 (12:55 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 20 Jun 2006 12:55:26 +0000 (12:55 +0000)
sapi/cli/php_cli.c

index 684d7f9e4506eb042ed16b42d88bce048c46b265..2e6e8d6c3aa301fcbf9e277c78f94a4d77fbf2a8 100644 (file)
@@ -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;