mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Drop free_filename field from zend_file_handle
free_filename was always zero.
This commit is contained in:
parent
49bac9b77b
commit
e0eca26285
7 changed files with 0 additions and 17 deletions
|
@ -1313,7 +1313,6 @@ static int cli_main( int argc, char * argv[] )
|
|||
highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini);
|
||||
} else if (source_highlight == 2) {
|
||||
file_handle.filename = *p;
|
||||
file_handle.free_filename = 0;
|
||||
file_handle.opened_path = NULL;
|
||||
ret = php_lint_script(&file_handle);
|
||||
if (ret==SUCCESS) {
|
||||
|
@ -1324,7 +1323,6 @@ static int cli_main( int argc, char * argv[] )
|
|||
|
||||
} else {
|
||||
file_handle.filename = *p;
|
||||
file_handle.free_filename = 0;
|
||||
file_handle.opened_path = NULL;
|
||||
|
||||
php_execute_script(&file_handle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue