lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [6220] Remove dead code


From: Greg Chicares
Subject: [lmi-commits] [6220] Remove dead code
Date: Fri, 24 Jul 2015 21:20:30 +0000

Revision: 6220
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6220
Author:   chicares
Date:     2015-07-24 21:20:30 +0000 (Fri, 24 Jul 2015)
Log Message:
-----------
Remove dead code

Modified Paths:
--------------
    lmi/trunk/ihs_avmly.cpp

Modified: lmi/trunk/ihs_avmly.cpp
===================================================================
--- lmi/trunk/ihs_avmly.cpp     2015-07-24 01:21:21 UTC (rev 6219)
+++ lmi/trunk/ihs_avmly.cpp     2015-07-24 21:20:30 UTC (rev 6220)
@@ -772,19 +772,6 @@
                 }
             }
 
-        if(!yare_input_.TermRider || !TermRiderActive)
-        // This is unreachable. If (!yare_input_.TermRider), then
-        // TxSetTermAmt() would already have been called by
-        // InitializeMonth(), and would already have ensured that
-        // (!TermRiderActive), so the condition 'if(TermRiderActive)'
-        // above would have failed.
-            {
-            throw "Unreachable.";
-            TermSpecAmt = 0.0;
-            ProportionAppliedToTerm = 0.0;
-            TermRiderActive = false;
-            }
-
         ActualSpecAmt += delta * (1.0 - ProportionAppliedToTerm);
         TermSpecAmt += delta * ProportionAppliedToTerm;
         if(TermSpecAmt < 0.0)




reply via email to

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