lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master b746578 02/13: Remove a defect marker [346]


From: Greg Chicares
Subject: [lmi-commits] [lmi] master b746578 02/13: Remove a defect marker [346]
Date: Tue, 14 Apr 2020 12:07:00 -0400 (EDT)

branch: master
commit b746578f8b9f16cf2d76f7f132be3389f4b5dca6
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Remove a defect marker [346]
    
    The default initialization performed by the base class is appropriate
    for almost all members. Special cases abound in the "nonscalable scalar"
    subset, all of whose members are explicitly initialized in Init() (even
    if the default is simply repeated there) to ensure that none is missed.
---
 ledger_invariant.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ledger_invariant.cpp b/ledger_invariant.cpp
index f7c019b..74788e7 100644
--- a/ledger_invariant.cpp
+++ b/ledger_invariant.cpp
@@ -477,7 +477,6 @@ void LedgerInvariant::Init()
 
     // Nonscalable scalars.
 
-    // TODO ?? Probably every member should be initialized.
     MaleProportion      = 0;
     NonsmokerProportion = 0;
     Age                 = 0;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]