From f2d5d8da05830af5129710b23ad6af5181c6942b Mon Sep 17 00:00:00 2001 From: handlespeed Date: Mon, 16 Mar 2020 19:27:25 +0800 Subject: [PATCH] Remove unused variable for System.Net.Requests, as part of #30457 (#33619) src/libraries/System.Net.Requests/src/System/Net/FtpControlStream.cs, remove unused variable 'request' in L414. Partially Fix #30457 --- .../System.Net.Requests/src/System/Net/FtpControlStream.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libraries/System.Net.Requests/src/System/Net/FtpControlStream.cs b/src/libraries/System.Net.Requests/src/System/Net/FtpControlStream.cs index 136e0a61b4f4d..d2fdb5f291803 100644 --- a/src/libraries/System.Net.Requests/src/System/Net/FtpControlStream.cs +++ b/src/libraries/System.Net.Requests/src/System/Net/FtpControlStream.cs @@ -411,7 +411,6 @@ protected override PipelineInstruction PipelineCallback(PipelineEntry entry, Res // OR parse out the file size or file time, usually a result of sending SIZE/MDTM commands else if (status == FtpStatusCode.FileStatus) { - FtpWebRequest request = (FtpWebRequest)_request; if (entry.Command.StartsWith("SIZE ", StringComparison.Ordinal)) { _contentLength = GetContentLengthFrom213Response(response.StatusDescription);