From a04bcdfceccfde1ad0be8f7bb7ff48cc51c59c2a Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Thu, 7 Feb 2008 08:45:43 +0000 Subject: [PATCH] remove old code leftover causing problems --- ext/phar/phar.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/phar/phar.c b/ext/phar/phar.c index 32f4077a78..142f23747a 100644 --- a/ext/phar/phar.c +++ b/ext/phar/phar.c @@ -2488,7 +2488,6 @@ static zend_op_array *phar_compile_file(zend_file_handle *file_handle, int type { zend_op_array *res; char *name = NULL; - char *fname = NULL; int failed; zend_op_array *(*save)(zend_file_handle *file_handle, int type TSRMLS_DC); phar_archive_data *phar; @@ -2496,7 +2495,6 @@ static zend_op_array *phar_compile_file(zend_file_handle *file_handle, int type save = zend_compile_file; /* restore current handler or we cause trouble */ zend_compile_file = phar_orig_compile_file; - fname = zend_get_executed_filename(TSRMLS_C); if (strstr(file_handle->filename, ".phar") && !strstr(file_handle->filename, "://")) { if (SUCCESS == phar_open_filename(file_handle->filename, strlen(file_handle->filename), NULL, 0, 0, &phar, NULL TSRMLS_CC)) { if (phar->is_zip || phar->is_tar) { -- 2.50.1