From 483018e170e1afb01f0156b5619b5b0a10af1ed5 Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Wed, 30 Apr 2008 02:20:48 +0000 Subject: [PATCH] remove unneeded exception handling (webPhar is always within an outer zend_execute block which handles exceptions for us, this is unnecessary) --- ext/phar/phar_object.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index 33ee816997..a45969e586 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -320,10 +320,6 @@ static int phar_file_action(phar_entry_data *phar, char *mime_type, int code, ch if (EG(return_value_ptr_ptr) && *EG(return_value_ptr_ptr)) { zval_ptr_dtor(EG(return_value_ptr_ptr)); } - /* - if (EG(exception)) { - zend_throw_exception_internal(NULL TSRMLS_CC); - } */ zend_bailout(); } return PHAR_MIME_PHP; -- 2.50.1