Browse Source

2008-06-14 Sebastien Pouliot <[email protected]>

	* HttpRemotingHandler.cs: Remove double assignment to bodyBuffer.
	[Found using Gendarme]


svn path=/trunk/mcs/; revision=105846
Sebastien Pouliot 17 years ago
parent
commit
a73e58bf35

+ 5 - 0
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Http/ChangeLog

@@ -1,3 +1,8 @@
+2008-06-14  Sebastien Pouliot  <[email protected]>
+
+	* HttpRemotingHandler.cs: Remove double assignment to bodyBuffer.
+	[Found using Gendarme]
+
 2008-02-12  Roei Erez ([email protected])
 
 	* HttpServerChannel.cs: Always initialize channel uri.

+ 1 - 1
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Http/HttpRemotingHandler.cs

@@ -109,7 +109,7 @@ namespace System.Runtime.Remoting.Channels.Http
 				}
 			}
 
-			byte[] bodyBuffer = bodyBuffer = new byte [responseStream.Length];
+			byte[] bodyBuffer = new byte [responseStream.Length];
 			responseStream.Seek (0, SeekOrigin.Begin);
 			
 			int nr = 0;