Skip to content

Commit

Permalink
Remove unused variable for System.Net.Requests, as part of #30457 (#3…
Browse files Browse the repository at this point in the history
…3619)

src/libraries/System.Net.Requests/src/System/Net/FtpControlStream.cs, remove unused variable 'request' in L414.

Partially Fix #30457
  • Loading branch information
handlespeed authored Mar 16, 2020
1 parent 7a362a0 commit f2d5d8d
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f2d5d8d

Please sign in to comment.