[gxml] * dispense with unnecessary lines



commit b81ad5c150b6b23ea46c2c9666abcb6734d6822e
Author: Richard Schwarting <aquarichy gmail com>
Date:   Sat Jul 23 16:57:06 2011 -0400

    * dispense with unnecessary lines

 gxml/Document.vala |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gxml/Document.vala b/gxml/Document.vala
index 0d972ba..c3199a1 100644
--- a/gxml/Document.vala
+++ b/gxml/Document.vala
@@ -458,12 +458,9 @@ namespace GXml.Dom {
 			}
 		}
 		public override string to_string (bool format = false, int level = 0) {
-			Xml.Buffer *buffer;
 			string str;
 			int len;
 
-			buffer = new Xml.Buffer ();
-
 			this.xmldoc->dump_memory_format (out str, out len, format);
 
 			return str;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]