[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master a7d075cd 16/27: Document, suppress, or expung
|
From: |
Greg Chicares |
|
Subject: |
[lmi-commits] [lmi] master a7d075cd 16/27: Document, suppress, or expunge unused formats |
|
Date: |
Mon, 25 Apr 2022 12:56:16 -0400 (EDT) |
branch: master
commit a7d075cdfb679ec90901dee94b84e254ad8cf13e
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Document, suppress, or expunge unused formats
"LoanInt" was a hapax legomenon: it referred to nothing.
"PrefLoanBalance" isn't used yet, but a runtime check requires that it
have a format, which will be 'f5' if it ever is used.
---
ledger_evaluator.cpp | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/ledger_evaluator.cpp b/ledger_evaluator.cpp
index 407b93d5..94e8ae3d 100644
--- a/ledger_evaluator.cpp
+++ b/ledger_evaluator.cpp
@@ -644,7 +644,6 @@ format_map_t static_formats()
,{"GrossIntCredited" , f5}
,{"GrossPmt" , f5}
,{"Loads" , f1}
- ,{"LoanInt" , f1}
,{"LoanIntAccrued" , f5}
,{"ModalMinimumPremium" , f5}
,{"NaarForceout" , f1}
@@ -655,7 +654,7 @@ format_map_t static_formats()
,{"NewCashLoan" , f5}
,{"Outlay" , f5}
,{"PolicyFee" , f5}
- ,{"PrefLoanBalance" , f1}
+ ,{"PrefLoanBalance" , f5} // Not used yet.
,{"PremTaxLoad" , f1}
,{"RefundableSalesLoad" , f1}
,{"RiderCharges" , f5}
@@ -686,7 +685,7 @@ ledger_evaluator Ledger::make_evaluator() const
mask_map_t mask_map {static_masks()};
- std::pair<int,oenum_format_style> f1(0, oe_format_normal);
+// std::pair<int,oenum_format_style> f1(0, oe_format_normal); // not used
// std::pair<int,oenum_format_style> f2(2, oe_format_normal); // not used
std::pair<int,oenum_format_style> f3(0, oe_format_percentage);
// std::pair<int,oenum_format_style> f4(2, oe_format_percentage); // not used
- [lmi-commits] [lmi] master updated (c50cc9b1 -> 09e00258), Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 8ea7412a 01/27: Allow "touchstone" files to contain '\t', Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 20297761 05/27: Add a new ledger emission option, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master d4083917 07/27: Test eleven farraginous files nychthemerally, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master d195c7af 10/27: Add a unit test for ledger_format(), Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 3064fee4 09/27: Add a helper function with a deliberately ugly name, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 37b663fe 11/27: Add an option to format cents as decimal dollars, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 550db6d9 15/27: Record speed measurements, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master a7d075cd 16/27: Document, suppress, or expunge unused formats,
Greg Chicares <=
- [lmi-commits] [lmi] master fdb47029 08/27: Fix dblize()ation in commented-out code, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 174198af 12/27: Reformat, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master dcbe9418 14/27: Change currency fields in ledger to integral cents, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master af0666c3 24/27: Distinguish two ledger formats, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 7b30e2d8 03/27: Filter unexpectedly small system-test discrepancies, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master d7ab80c6 04/27: Clean up beforehand, not afterward, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 12192723 06/27: Add two new ledger emission options, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 119df7a9 13/27: Add a 'divisor' argument to LedgerBase::value_str(), Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 2b108ed7 18/27: Avoid unnecessary rounding, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master b7c61b4d 20/27: Regularize format names, Greg Chicares, 2022/04/25