2006-12-05 Chris Toshok <toshok@ximian.com>
authorChris Toshok <toshok@novell.com>
Tue, 5 Dec 2006 18:36:36 +0000 (18:36 -0000)
committerChris Toshok <toshok@novell.com>
Tue, 5 Dec 2006 18:36:36 +0000 (18:36 -0000)
* RTF.cs: more warning fixes.

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

mcs/class/Managed.Windows.Forms/System.Windows.Forms.RTF/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms.RTF/RTF.cs

index 6a75c1667c4968181505aac2f3218134943f24fe..51dd067a640c8f1add00df421e7cbdb7f415f5bd 100644 (file)
@@ -1,3 +1,7 @@
+2006-12-05  Chris Toshok  <toshok@ximian.com>
+
+       * RTF.cs: more warning fixes.
+
 2006-12-04  Chris Toshok  <toshok@ximian.com>
 
        * RTF.cs: remove unused fields.
index 7c58162053da991581cd85a33b61aa8a3e6d50a8..41ec4af3498f7c2135752f44ab7e786b64945caf 100644 (file)
@@ -47,7 +47,7 @@ namespace System.Windows.Forms.RTF {
                private int             line_pos;
 
                private char            pushed_char;
-               private StringBuilder   pushed_text_buffer;
+               //private StringBuilder pushed_text_buffer;
                private TokenClass      pushed_class;
                private Major           pushed_major;
                private Minor           pushed_minor;
@@ -86,7 +86,7 @@ namespace System.Windows.Forms.RTF {
                        source = new StreamReader(stream);
 
                        text_buffer = new StringBuilder(1024);
-                       pushed_text_buffer = new StringBuilder(1024);
+                       //pushed_text_buffer = new StringBuilder(1024);
 
                        rtf_class = TokenClass.None;
                        pushed_class = TokenClass.None;
@@ -522,7 +522,7 @@ SkipCRLF:
                        this.pushed_major = this.major;
                        this.pushed_minor = this.minor;
                        this.pushed_param = this.param;
-                       this.pushed_text_buffer = new StringBuilder(this.text_buffer.ToString());
+                       //this.pushed_text_buffer = new StringBuilder(this.text_buffer.ToString());
                }
 
                public TokenClass PeekToken() {