Răsfoiți Sursa

2005-01-28 Lluis Sanchez Gual <[email protected]>

	* Base64AttachmentEncoder.cs: Fixed warning.


svn path=/trunk/mcs/; revision=39729
Lluis Sanchez 21 ani în urmă
părinte
comite
4b64fb1699

+ 1 - 2
mcs/class/System.Web/System.Web.Mail/Base64AttachmentEncoder.cs

@@ -51,7 +51,6 @@ namespace System.Web.Mail {
             byte[] cipherText = new byte[ base64.OutputBlockSize ];
 
             int readLength = 0;
-            int trLength = 0;
 	    int count = 0;
 	    byte[] newln = new byte[] { 13 , 10 }; //CR LF with mail
 
@@ -69,7 +68,7 @@ namespace System.Web.Mail {
                 // is less than the InputBlockSize then write the final block
                 if( readLength == plainText.Length ) {
                 
-                    trLength = base64.TransformBlock( plainText , 0 , 
+                    base64.TransformBlock( plainText , 0 , 
                                                       plainText.Length ,
                                                       cipherText , 0 );
                 		    

+ 4 - 0
mcs/class/System.Web/System.Web.Mail/ChangeLog

@@ -1,3 +1,7 @@
+2005-01-28  Lluis Sanchez Gual <[email protected]>
+
+	* Base64AttachmentEncoder.cs: Fixed warning.
+
 2004-10-27  Sanjay Gupta <[email protected]>
 	
 	* SmtpClient.cs: Fix for bug 68829.