]> granicus.if.org Git - php/commitdiff
Initializing new_path once is enough
authorSascha Schumann <sas@php.net>
Sun, 27 Aug 2000 19:40:21 +0000 (19:40 +0000)
committerSascha Schumann <sas@php.net>
Sun, 27 Aug 2000 19:40:21 +0000 (19:40 +0000)
main/main.c

index 8c50ca849c657a2e29ad5dd0410220072dae9a36..86c8634804f9b00952f663f9dcf41e9753029a43 100644 (file)
@@ -1106,7 +1106,7 @@ PHPAPI void php_execute_script(zend_file_handle *primary_file CLS_DC ELS_DC PLS_
        zend_file_handle *prepend_file_p, *append_file_p;
        zend_file_handle prepend_file, append_file;
        char old_cwd[4096];
-       char new_path[4096] = "";
+       char new_path[4096];
        SLS_FETCH();
 
        old_cwd[0] = new_path[0] = '\0';