summaryrefslogtreecommitdiff
path: root/ext/swf/swf.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/swf/swf.c')
-rw-r--r--ext/swf/swf.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/swf/swf.c b/ext/swf/swf.c
index ac7e6f3bcb..a33f613773 100644
--- a/ext/swf/swf.c
+++ b/ext/swf/swf.c
@@ -168,9 +168,7 @@ PHP_MINIT_FUNCTION(swf)
*/
PHP_RINIT_FUNCTION(swf)
{
- SWFLS_FETCH();
SWFG(use_file) = 0;
-
return SUCCESS;
}
/* }}} */
@@ -182,7 +180,6 @@ PHP_FUNCTION(swf_openfile)
zval **name, **sizeX, **sizeY, **frameRate, **r, **g, **b;
char *na, *tmpna;
zend_bool free_na;
- SWFLS_FETCH();
if (ZEND_NUM_ARGS() != 7 ||
zend_get_parameters_ex(7, &name, &sizeX, &sizeY, &frameRate, &r, &g, &b) == FAILURE) {
@@ -245,8 +242,6 @@ PHP_FUNCTION(swf_openfile)
Close a Shockwave flash file that was opened with swf_openfile */
PHP_FUNCTION(swf_closefile)
{
- SWFLS_FETCH();
-
swf_closefile();
if (!SWFG(use_file)) {