Przeglądaj źródła

Avoid initializing data.

drieseng 9 lat temu
rodzic
commit
74088c38a5
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/Renci.SshNet/Sftp/SftpSession.cs

+ 1 - 1
src/Renci.SshNet/Sftp/SftpSession.cs

@@ -328,7 +328,7 @@ namespace Renci.SshNet.Sftp
         {
             SshException exception = null;
 
-            var data = new byte[0];
+            byte[] data = null;
 
             using (var wait = new AutoResetEvent(false))
             {