优化变量

This commit is contained in:
Kevin
2017-10-11 18:06:30 +08:00
parent c48ac0538a
commit 620e0d77eb
+1 -1
View File
@@ -31,7 +31,7 @@ namespace OSS.Http.Mos
var buffer = new byte[1024];
using (fileStream)
{
int readCount = 0;
int readCount;
while ((readCount = fileStream.Read(buffer, 0, buffer.Length)) != 0)
{
s.Write(buffer, 0, readCount);