summaryrefslogtreecommitdiff
path: root/main/fopen_wrappers.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/fopen_wrappers.c')
-rw-r--r--main/fopen_wrappers.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c
index 974f0c47c7..716f3ba679 100644
--- a/main/fopen_wrappers.c
+++ b/main/fopen_wrappers.c
@@ -110,9 +110,8 @@ PHPAPI int php_unregister_url_wrapper(char *protocol)
int php_init_fopen_wrappers(void)
{
- PLS_FETCH();
-
int status = SUCCESS;
+ PLS_FETCH();
if(PG(allow_url_fopen)) {
if (zend_hash_init(&fopen_url_wrappers_hash, 0, NULL, NULL, 1)==FAILURE) {