r20435 - gnucash/trunk/src - [PATCH 1/4] Bug #615168: Remove spurious (require 'hash-table) instances

Geert Janssens gjanssens at code.gnucash.org
Mon Mar 21 11:09:44 EDT 2011


Author: gjanssens
Date: 2011-03-21 11:09:43 -0400 (Mon, 21 Mar 2011)
New Revision: 20435
Trac: http://svn.gnucash.org/trac/changeset/20435

Modified:
   gnucash/trunk/src/app-utils/c-interface.scm
   gnucash/trunk/src/app-utils/prefs.scm
   gnucash/trunk/src/report/business-reports/aging.scm
   gnucash/trunk/src/report/business-reports/easy-invoice.scm
   gnucash/trunk/src/report/business-reports/fancy-invoice.scm
   gnucash/trunk/src/report/business-reports/invoice.scm
   gnucash/trunk/src/report/report-system/report-system.scm
   gnucash/trunk/src/report/standard-reports/standard-reports.scm
Log:
[PATCH 1/4] Bug #615168: Remove spurious (require 'hash-table) instances

Patch by Andy Wingo.

There is nothing that the slib hash-table module provides that was used
in any of these files; they all used Guile's stock hash tables.

Modified: gnucash/trunk/src/app-utils/c-interface.scm
===================================================================
--- gnucash/trunk/src/app-utils/c-interface.scm	2011-03-20 20:50:28 UTC (rev 20434)
+++ gnucash/trunk/src/app-utils/c-interface.scm	2011-03-21 15:09:43 UTC (rev 20435)
@@ -18,8 +18,6 @@
 (use-modules (ice-9 slib))
 (use-modules (ice-9 syncase))
 
-(require 'hash-table)
-
 (define (gnc:error->string tag args)
   (define (write-error port)
     (if (and (list? args) (not (null? args)))

Modified: gnucash/trunk/src/app-utils/prefs.scm
===================================================================
--- gnucash/trunk/src/app-utils/prefs.scm	2011-03-20 20:50:28 UTC (rev 20434)
+++ gnucash/trunk/src/app-utils/prefs.scm	2011-03-21 15:09:43 UTC (rev 20435)
@@ -17,8 +17,6 @@
 ;; 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652
 ;; Boston, MA  02110-1301,  USA       gnu at gnu.org
 
-(require 'hash-table)
-
 ;; (define gnc:*double-entry-restriction*
 ;;   (gnc:make-config-var
 ;;    "Determines how the splits in a transaction will be balanced. 

Modified: gnucash/trunk/src/report/business-reports/aging.scm
===================================================================
--- gnucash/trunk/src/report/business-reports/aging.scm	2011-03-20 20:50:28 UTC (rev 20434)
+++ gnucash/trunk/src/report/business-reports/aging.scm	2011-03-21 15:09:43 UTC (rev 20435)
@@ -31,8 +31,6 @@
 (use-modules (gnucash printf))
 (use-modules (gnucash gnc-module))
 
-(require 'hash-table)
-
 (gnc:module-load "gnucash/report/report-system" 0)
 (gnc:module-load "gnucash/business-core" 0)
 

Modified: gnucash/trunk/src/report/business-reports/easy-invoice.scm
===================================================================
--- gnucash/trunk/src/report/business-reports/easy-invoice.scm	2011-03-20 20:50:28 UTC (rev 20434)
+++ gnucash/trunk/src/report/business-reports/easy-invoice.scm	2011-03-21 15:09:43 UTC (rev 20435)
@@ -35,8 +35,6 @@
 (use-modules (gnucash printf))
 (use-modules (gnucash gnc-module))
 
-(require 'hash-table)
-
 (gnc:module-load "gnucash/report/report-system" 0)
 (gnc:module-load "gnucash/business-utils" 0)
 

Modified: gnucash/trunk/src/report/business-reports/fancy-invoice.scm
===================================================================
--- gnucash/trunk/src/report/business-reports/fancy-invoice.scm	2011-03-20 20:50:28 UTC (rev 20434)
+++ gnucash/trunk/src/report/business-reports/fancy-invoice.scm	2011-03-21 15:09:43 UTC (rev 20435)
@@ -53,8 +53,6 @@
 (use-modules (gnucash printf))
 (use-modules (gnucash gnc-module))
 
-(require 'hash-table)
-
 (gnc:module-load "gnucash/report/report-system" 0)
 (gnc:module-load "gnucash/business-utils" 0)
 

Modified: gnucash/trunk/src/report/business-reports/invoice.scm
===================================================================
--- gnucash/trunk/src/report/business-reports/invoice.scm	2011-03-20 20:50:28 UTC (rev 20434)
+++ gnucash/trunk/src/report/business-reports/invoice.scm	2011-03-21 15:09:43 UTC (rev 20435)
@@ -29,8 +29,6 @@
 (use-modules (gnucash printf))
 (use-modules (gnucash gnc-module))
 
-(require 'hash-table)
-
 (gnc:module-load "gnucash/report/report-system" 0)
 (gnc:module-load "gnucash/business-utils" 0)
 

Modified: gnucash/trunk/src/report/report-system/report-system.scm
===================================================================
--- gnucash/trunk/src/report/report-system/report-system.scm	2011-03-20 20:50:28 UTC (rev 20434)
+++ gnucash/trunk/src/report/report-system/report-system.scm	2011-03-21 15:09:43 UTC (rev 20435)
@@ -13,8 +13,6 @@
 (use-modules (srfi srfi-19))
 (use-modules (gnucash gnc-module))
 
-(require 'hash-table)
-
 (gnc:module-load "gnucash/engine" 0)
 (gnc:module-load "gnucash/app-utils" 0)
 (gnc:module-load "gnucash/html" 0)

Modified: gnucash/trunk/src/report/standard-reports/standard-reports.scm
===================================================================
--- gnucash/trunk/src/report/standard-reports/standard-reports.scm	2011-03-20 20:50:28 UTC (rev 20434)
+++ gnucash/trunk/src/report/standard-reports/standard-reports.scm	2011-03-21 15:09:43 UTC (rev 20435)
@@ -14,8 +14,6 @@
 (export gnc:register-report-create)
 (export gnc:register-report-hook)
 
-(require 'hash-table)
-
 (define gnc:*register-report-hash* (make-hash-table 23))
 
 ;; Keep a hash-table of records, keyed off the account type.  Each



More information about the gnucash-changes mailing list