Explorar el Código

Avoid initializing data.

drieseng hace 9 años
padre
commit
74088c38a5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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))
             {