summaryrefslogtreecommitdiff
path: root/ext/swf/swf.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-28 11:36:37 +0000
committerZeev Suraski <zeev@php.net>2001-07-28 11:36:37 +0000
commitd87cc976e1156b839fc6d4aa6b473a126802b8e3 (patch)
tree8acb068dd7458e1c8df3a7d8ecb87d065990fdb1 /ext/swf/swf.c
parentb4f3b9d3ce9f55cf040fb5aa8f201c64646cab43 (diff)
downloadphp-git-d87cc976e1156b839fc6d4aa6b473a126802b8e3.tar.gz
Redesigned thread safety mechanism - nua nua
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)) {