2004-12-15 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Wed, 15 Dec 2004 18:49:31 +0000 (18:49 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Wed, 15 Dec 2004 18:49:31 +0000 (18:49 -0000)
* UTF7Encoding.cs:  Fixed warning for unused variable.

svn path=/trunk/mcs/; revision=37797

mcs/class/corlib/System.Text/ChangeLog
mcs/class/corlib/System.Text/UTF7Encoding.cs

index 2bb6e30d5f5d492ec1dbe601309cc2e2b5b3f2bb..335f8c019b1f66280ee08d2624af4e4da481567c 100755 (executable)
@@ -1,3 +1,7 @@
+2004-12-15  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * UTF7Encoding.cs:  Fixed warning for unused variable.
+
 2004-09-30  Juraj Skripsky <js@hotfeet.ch>
 
        * Encoding.cs: Add encoding name "latin1" for compatibility with
index 074bc469078e02d227a2355cfe65dfb398ace768..d550e068dab192df874902571fb7c2a0c56a5023 100755 (executable)
@@ -336,7 +336,7 @@ class UTF7Encoding : Encoding
 
                // Determine the length of the result.
                int length = 0;
-               int byteval, b64value;
+               int byteval;
                bool normal = ((leftOver & 0x01000000) == 0);
                bool prevIsPlus = ((leftOver & 0x02000000) != 0);
                int leftOverSize = ((leftOver >> 16) & 0xFF);
@@ -362,7 +362,7 @@ class UTF7Encoding : Encoding
                                                leftOverSize = 0;
                                        }
                                        normal = true;
-                               } else if ((b64value = base64[byteval]) != -1) {
+                               } else if (base64 [byteval] != -1) {
                                        // Extra character in a base64 sequence.
                                        leftOverSize += 6;
                                        if (leftOverSize >= 16) {