1 |
commit cab4dc5a959f150a4d0f7514d3e87e4dd3ae2e7b |
2 |
Author: Geert Janssens <janssens-geert@telenet.be> |
3 |
Date: Mon Mar 21 15:09:43 2011 +0000 |
4 |
|
5 |
[PATCH 1/4] Bug #615168: Remove spurious (require 'hash-table) instances |
6 |
|
7 |
Patch by Andy Wingo. |
8 |
|
9 |
There is nothing that the slib hash-table module provides that was used |
10 |
in any of these files; they all used Guile's stock hash tables. |
11 |
|
12 |
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20435 57a11ea4-9604-0410-9ed3-97b8803252fd |
13 |
|
14 |
diff --git a/src/app-utils/c-interface.scm b/src/app-utils/c-interface.scm |
15 |
index 9827d21..10837a4 100644 |
16 |
--- a/src/app-utils/c-interface.scm |
17 |
+++ b/src/app-utils/c-interface.scm |
18 |
@@ -18,8 +18,6 @@ |
19 |
(use-modules (ice-9 slib)) |
20 |
(use-modules (ice-9 syncase)) |
21 |
|
22 |
-(require 'hash-table) |
23 |
- |
24 |
(define (gnc:error->string tag args) |
25 |
(define (write-error port) |
26 |
(if (and (list? args) (not (null? args))) |
27 |
diff --git a/src/app-utils/prefs.scm b/src/app-utils/prefs.scm |
28 |
index d460646..a0ee256 100644 |
29 |
--- a/src/app-utils/prefs.scm |
30 |
+++ b/src/app-utils/prefs.scm |
31 |
@@ -17,8 +17,6 @@ |
32 |
;; 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 |
33 |
;; Boston, MA 02110-1301, USA gnu@gnu.org |
34 |
|
35 |
-(require 'hash-table) |
36 |
- |
37 |
;; (define gnc:*double-entry-restriction* |
38 |
;; (gnc:make-config-var |
39 |
;; "Determines how the splits in a transaction will be balanced. |
40 |
diff --git a/src/report/business-reports/aging.scm b/src/report/business-reports/aging.scm |
41 |
index aa2bfeb..60beb9e 100644 |
42 |
--- a/src/report/business-reports/aging.scm |
43 |
+++ b/src/report/business-reports/aging.scm |
44 |
@@ -31,8 +31,6 @@ |
45 |
(use-modules (gnucash printf)) |
46 |
(use-modules (gnucash gnc-module)) |
47 |
|
48 |
-(require 'hash-table) |
49 |
- |
50 |
(gnc:module-load "gnucash/report/report-system" 0) |
51 |
(gnc:module-load "gnucash/business-core" 0) |
52 |
|
53 |
diff --git a/src/report/business-reports/easy-invoice.scm b/src/report/business-reports/easy-invoice.scm |
54 |
index 59101c9..13e0adb 100644 |
55 |
--- a/src/report/business-reports/easy-invoice.scm |
56 |
+++ b/src/report/business-reports/easy-invoice.scm |
57 |
@@ -35,8 +35,6 @@ |
58 |
(use-modules (gnucash printf)) |
59 |
(use-modules (gnucash gnc-module)) |
60 |
|
61 |
-(require 'hash-table) |
62 |
- |
63 |
(gnc:module-load "gnucash/report/report-system" 0) |
64 |
(gnc:module-load "gnucash/business-utils" 0) |
65 |
|
66 |
diff --git a/src/report/business-reports/fancy-invoice.scm b/src/report/business-reports/fancy-invoice.scm |
67 |
index f568841..344c9b5 100644 |
68 |
--- a/src/report/business-reports/fancy-invoice.scm |
69 |
+++ b/src/report/business-reports/fancy-invoice.scm |
70 |
@@ -53,8 +53,6 @@ |
71 |
(use-modules (gnucash printf)) |
72 |
(use-modules (gnucash gnc-module)) |
73 |
|
74 |
-(require 'hash-table) |
75 |
- |
76 |
(gnc:module-load "gnucash/report/report-system" 0) |
77 |
(gnc:module-load "gnucash/business-utils" 0) |
78 |
|
79 |
diff --git a/src/report/business-reports/invoice.scm b/src/report/business-reports/invoice.scm |
80 |
index a2b1fd8..32cf062 100644 |
81 |
--- a/src/report/business-reports/invoice.scm |
82 |
+++ b/src/report/business-reports/invoice.scm |
83 |
@@ -29,8 +29,6 @@ |
84 |
(use-modules (gnucash printf)) |
85 |
(use-modules (gnucash gnc-module)) |
86 |
|
87 |
-(require 'hash-table) |
88 |
- |
89 |
(gnc:module-load "gnucash/report/report-system" 0) |
90 |
(gnc:module-load "gnucash/business-utils" 0) |
91 |
|
92 |
diff --git a/src/report/report-system/report-system.scm b/src/report/report-system/report-system.scm |
93 |
index 3043314..aaa1a3e 100644 |
94 |
--- a/src/report/report-system/report-system.scm |
95 |
+++ b/src/report/report-system/report-system.scm |
96 |
@@ -13,8 +13,6 @@ |
97 |
(use-modules (srfi srfi-19)) |
98 |
(use-modules (gnucash gnc-module)) |
99 |
|
100 |
-(require 'hash-table) |
101 |
- |
102 |
(gnc:module-load "gnucash/engine" 0) |
103 |
(gnc:module-load "gnucash/app-utils" 0) |
104 |
(gnc:module-load "gnucash/html" 0) |
105 |
diff --git a/src/report/standard-reports/standard-reports.scm b/src/report/standard-reports/standard-reports.scm |
106 |
index 272225c..d30b9a3 100644 |
107 |
--- a/src/report/standard-reports/standard-reports.scm |
108 |
+++ b/src/report/standard-reports/standard-reports.scm |
109 |
@@ -14,8 +14,6 @@ |
110 |
(export gnc:register-report-create) |
111 |
(export gnc:register-report-hook) |
112 |
|
113 |
-(require 'hash-table) |
114 |
- |
115 |
(define gnc:*register-report-hash* (make-hash-table 23)) |
116 |
|
117 |
;; Keep a hash-table of records, keyed off the account type. Each |