From 2da5944596f5fdee08293839eada5c2e3e1eda30 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Fri, 20 Sep 2019 10:17:08 +0800 Subject: [PATCH] [taxtxf-de_DE] fix invalid code (unless book ...) is equivalent to (if (not book) ...) therefore this snippet was incorrect. previous commit ensures book always returns a non-#f object therefore there's no need to handle #f anymore. --- gnucash/report/locale-specific/us/taxtxf-de_DE.scm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/gnucash/report/locale-specific/us/taxtxf-de_DE.scm b/gnucash/report/locale-specific/us/taxtxf-de_DE.scm index 6557dd0f1c..651785b4fb 100644 --- a/gnucash/report/locale-specific/us/taxtxf-de_DE.scm +++ b/gnucash/report/locale-specific/us/taxtxf-de_DE.scm @@ -768,12 +768,7 @@ (to-year (gnc-print-time64 to-value "%Y")) (today-date (gnc-print-time64 (time64CanonicalDayTime (current-time)) "%d.%m.%Y")) - (tax-nr (unless book - (or - (gnc:option-get-value book gnc:*tax-label* gnc:*tax-nr-label*) - "") - "")) - ) + (tax-nr (gnc:option-get-value book gnc:*tax-label* gnc:*tax-nr-label*))) ;; Now, the main body ;; Reset all the balance collectors