[Gnucash-changes] remove broken/dead(?) code; whitespace.

Joshua Sled jsled at cvs.gnucash.org
Sun Oct 2 19:20:14 EDT 2005


Log Message:
-----------
remove broken/dead(?) code; whitespace.

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash/src/report/report-system:
        report.scm

Revision Data
-------------
Index: report.scm
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/report/report-system/report.scm,v
retrieving revision 1.12.4.3
retrieving revision 1.12.4.4
diff -Lsrc/report/report-system/report.scm -Lsrc/report/report-system/report.scm -u -r1.12.4.3 -r1.12.4.4
--- src/report/report-system/report.scm
+++ src/report/report-system/report.scm
@@ -254,7 +254,7 @@
            (if cb
                (cb r))))
        options))
-    
+
     (hash-set! *gnc:_reports_* (gnc:report-id r) r)
     id))
 
@@ -326,12 +326,13 @@
 
 (define (gnc:report-remove-by-id id)
   (let ((r (hash-ref *gnc:_reports_* id)))
-    (for-each 
-     (lambda (child)
-       (gnc:report-remove-by-id child))
-     (gnc:report-children r))
+    ;; 2005.10.02, jsled: gnc:report-children doesn't appear defined anywhere?
+    ;; (for-each 
+     ;; (lambda (child)
+     ;;   (gnc:report-remove-by-id child))
+     ;; (gnc:report-children r))
     (hash-remove! *gnc:_reports_* id)))
-
+ 
 (define (gnc:find-report id)
   (hash-ref *gnc:_reports_* id))
 


More information about the gnucash-changes mailing list