From d87cc976e1156b839fc6d4aa6b473a126802b8e3 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Sat, 28 Jul 2001 11:36:37 +0000 Subject: Redesigned thread safety mechanism - nua nua --- ext/swf/swf.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ext/swf/swf.c') 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)) { -- cgit v1.2.1