From: Sascha Schumann Date: Sat, 4 May 2002 17:16:28 +0000 (+0000) Subject: redirected is set but never used X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~250 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=140158734fbd6a85219ea79e9bd9d8dff0cef4e7;p=php redirected is set but never used --- 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;