Explorar o código

Merge pull request #150 from hifi/mono-warn

Remove unused variables, fixes mcs warnings on Mono
Gert Driesen %!s(int64=8) %!d(string=hai) anos
pai
achega
9f78de8a89
Modificáronse 2 ficheiros con 0 adicións e 3 borrados
  1. 0 2
      src/Renci.SshNet/ScpClient.NET.cs
  2. 0 1
      src/Renci.SshNet/ScpClient.cs

+ 0 - 2
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}");
 

+ 0 - 1
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}");