From d1e6163cd9bfc6a6683ea32d227b7302a639d36b Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Mon, 5 Apr 2021 21:19:17 +0800 Subject: [PATCH] Remove dead code and unused strings --- gnucash/report/reports/standard/balsheet-eg.scm | 10 ---------- .../reports/standard/budget-income-statement.scm | 5 ----- gnucash/report/reports/standard/customer-summary.scm | 8 -------- gnucash/report/reports/standard/price-scatter.scm | 10 ---------- gnucash/report/reports/support/balsheet-eg.eguile.scm | 8 -------- 5 files changed, 41 deletions(-) diff --git a/gnucash/report/reports/standard/balsheet-eg.scm b/gnucash/report/reports/standard/balsheet-eg.scm index 4899e81941..a8b42051b6 100644 --- a/gnucash/report/reports/standard/balsheet-eg.scm +++ b/gnucash/report/reports/standard/balsheet-eg.scm @@ -44,16 +44,6 @@ (use-modules (srfi srfi-13)) ; for extra string functions (use-modules (srfi srfi-9)) -(define debugging? #f) - -(define (debug . args) - (when debugging? - (for-each - (lambda (arg) - (display (if (string? arg) arg (dump arg))) - (display " ")) - args))) - (define (hrule cols) ; in fact just puts in an empty row for spacing (display " (accrec-treedepth accrec-ie) 1)) (set! rshift-ie 1)) - (if debugging? - (begin - (display "

Assets: ") (display accrec-as) - (display "

Liabilities: ") (display accrec-li) - (display "

Equities: ") (display accrec-eq) - (display "

Trading: ") (display accrec-tr) - (display "

Profit and loss: ") (display accrec-ie))) - ?>