From 140158734fbd6a85219ea79e9bd9d8dff0cef4e7 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 4 May 2002 17:16:28 +0000 Subject: [PATCH] redirected is set but never used --- ext/standard/http_fopen_wrapper.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c index 54cc329ad4..5ba1876e68 100644 --- a/ext/standard/http_fopen_wrapper.c +++ b/ext/standard/http_fopen_wrapper.c @@ -85,7 +85,6 @@ php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, char *path, ch char *http_header_line = NULL; char tmp_line[128]; size_t chunk_size = 0, file_size = 0; - int redirected = 0; resource = php_url_parse(path); if (resource == NULL) @@ -304,7 +303,6 @@ php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, char *path, ch else { strlcpy(new_path, location, sizeof(new_path)); } - redirected = 1; stream = php_stream_url_wrap_http(NULL, new_path, mode, options, opened_path, context STREAMS_CC TSRMLS_CC); if (stream && stream->wrapperdata) { entryp = &entry; -- 2.40.0