Sfoglia il codice sorgente

Remove unused variables, fixes mcs warnings on Mono

Toni Spets 8 anni fa
parent
commit
ffda76a15b
2 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  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}");