lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [6190] Mark unreachable code for later elimination


From: Greg Chicares
Subject: [lmi-commits] [6190] Mark unreachable code for later elimination
Date: Fri, 22 May 2015 20:55:21 +0000

Revision: 6190
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6190
Author:   chicares
Date:     2015-05-22 20:55:20 +0000 (Fri, 22 May 2015)
Log Message:
-----------
Mark unreachable code for later elimination

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

Modified: lmi/trunk/ihs_avmly.cpp
===================================================================
--- lmi/trunk/ihs_avmly.cpp     2015-05-22 20:31:38 UTC (rev 6189)
+++ lmi/trunk/ihs_avmly.cpp     2015-05-22 20:55:20 UTC (rev 6190)
@@ -773,7 +773,13 @@
             }
 
         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;




reply via email to

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