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

index ccb3f4152bb79e54717134205f66b9282de847db..c990c81a2a9081910e7a523ed942900be63f21fd 100644 (file)
@@ -563,7 +563,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;
@@ -1189,7 +1189,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;