From 048a2279f4285eb27a5d5e2736fd15bfac12213a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Johan=20Sch=C3=B6n?= <js@opera.com>
Date: Wed, 12 Jul 2000 22:12:13 +0200
Subject: [PATCH] Removed debug/profiling stuff

Rev: lib/modules/Parser.pmod/XML.pmod/Tree.pmod:1.3
---
 .gitattributes                             |  1 +
 lib/modules/Parser.pmod/XML.pmod/Tree.pmod | 21 ++++++++-------------
 2 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/.gitattributes b/.gitattributes
index 1c09c76b30..7975019165 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -68,6 +68,7 @@ testfont binary
 /lib/modules/LR.pmod/rule.pike foreign_ident
 /lib/modules/LR.pmod/scanner.pike foreign_ident
 /lib/modules/MIME.pmod foreign_ident
+/lib/modules/Parser.pmod/XML.pmod/Tree.pmod foreign_ident
 /lib/modules/Parser.pmod/module.pmod foreign_ident
 /lib/modules/Protocols.pmod/IMAP.pmod/imap_server.pike foreign_ident
 /lib/modules/Protocols.pmod/IMAP.pmod/requests.pmod foreign_ident
diff --git a/lib/modules/Parser.pmod/XML.pmod/Tree.pmod b/lib/modules/Parser.pmod/XML.pmod/Tree.pmod
index 3c21bb7f8a..ed94dd9c3c 100644
--- a/lib/modules/Parser.pmod/XML.pmod/Tree.pmod
+++ b/lib/modules/Parser.pmod/XML.pmod/Tree.pmod
@@ -1,3 +1,7 @@
+/*
+ * $Id: Tree.pmod,v 1.3 2000/07/12 20:12:13 js Exp $
+ *
+ */
 
 #define STOP_WALK  -1
 #define  XML_ROOT     0x0001
@@ -36,19 +40,10 @@ class AbstractNode {
   AbstractNode get_root()
   {
     AbstractNode  parent, node;
-
-#if TIMER	
-    __get_root += gauge {
-#endif
-  
-      parent = this_object();
-      while (node = parent->mParent)
-	parent = node;
-
-#if TIMER
-    };
-#endif
-
+    
+    parent = this_object();
+    while (node = parent->mParent)
+      parent = node;
     return (parent);
   }
 
-- 
GitLab