From ffda76a15b8bea686bf3846496b11a00fa9a83a8 Mon Sep 17 00:00:00 2001 From: Toni Spets Date: Thu, 12 Jan 2017 18:00:29 +0200 Subject: [PATCH] Remove unused variables, fixes mcs warnings on Mono --- src/Renci.SshNet/ScpClient.NET.cs | 2 -- src/Renci.SshNet/ScpClient.cs | 1 - 2 files changed, 3 deletions(-) diff --git a/src/Renci.SshNet/ScpClient.NET.cs b/src/Renci.SshNet/ScpClient.NET.cs index c3a3ce10..73b1770d 100644 --- a/src/Renci.SshNet/ScpClient.NET.cs +++ b/src/Renci.SshNet/ScpClient.NET.cs @@ -202,7 +202,6 @@ namespace Renci.SshNet SendConfirmation(channel); // Send reply // Read directory - var mode = long.Parse(match.Result("${mode}")); var filename = match.Result("${filename}"); DirectoryInfo newDirectoryInfo; @@ -230,7 +229,6 @@ namespace Renci.SshNet // Read file SendConfirmation(channel); // Send reply - var mode = match.Result("${mode}"); var length = long.Parse(match.Result("${length}")); var fileName = match.Result("${filename}"); diff --git a/src/Renci.SshNet/ScpClient.cs b/src/Renci.SshNet/ScpClient.cs index a3f5e13f..dfdec27c 100644 --- a/src/Renci.SshNet/ScpClient.cs +++ b/src/Renci.SshNet/ScpClient.cs @@ -231,7 +231,6 @@ namespace Renci.SshNet // Read file SendConfirmation(channel); // Send reply - var mode = match.Result("${mode}"); var length = long.Parse(match.Result("${length}")); var fileName = match.Result("${filename}");