[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] valyuta/002 5447866 2/7: Do away with unused return
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] valyuta/002 5447866 2/7: Do away with unused return value #2 |
Date: |
Sun, 20 Sep 2020 18:51:23 -0400 (EDT) |
branch: valyuta/002
commit 5447866e4c87a1865426951d1f438e8b62a997d8
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Do away with unused return value #2
---
account_value.hpp | 2 +-
accountvalue.cpp | 4 ++--
ihs_acctval.cpp | 6 ++----
3 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/account_value.hpp b/account_value.hpp
index 0a409b1..b0b6b3b 100644
--- a/account_value.hpp
+++ b/account_value.hpp
@@ -60,7 +60,7 @@ class LMI_SO AccountValue final
AccountValue(AccountValue&&) = default;
~AccountValue() override = default;
- currency RunAV();
+ void RunAV();
void SetDebugFilename (std::string const&);
diff --git a/accountvalue.cpp b/accountvalue.cpp
index 07b72da..27fa95b 100644
--- a/accountvalue.cpp
+++ b/accountvalue.cpp
@@ -139,12 +139,12 @@ std::shared_ptr<Ledger const>
AccountValue::ledger_from_av() const
}
//============================================================================
-currency AccountValue::RunAV()
+void AccountValue::RunAV()
{
InvariantValues().Init(this);
OverridingPmts = stored_pmts;
Solving = mce_solve_none != yare_input_.SolveType;
- return RunAllApplicableBases();
+ RunAllApplicableBases();
}
//============================================================================
diff --git a/ihs_acctval.cpp b/ihs_acctval.cpp
index b162d1f..d450f3e 100644
--- a/ihs_acctval.cpp
+++ b/ihs_acctval.cpp
@@ -180,7 +180,7 @@ std::shared_ptr<Ledger const>
AccountValue::ledger_from_av() const
}
//============================================================================
-currency AccountValue::RunAV()
+void AccountValue::RunAV()
{
/*
First run current, for solves and strategies. This determines
@@ -205,11 +205,9 @@ Then run other bases.
DebugPrintInit();
}
- currency z = RunAllApplicableBases();
+ RunAllApplicableBases();
FinalizeLifeAllBases();
-
- return z;
}
//============================================================================
- [lmi-commits] [lmi] valyuta/002 updated (18ab8be -> 5fb74f1), Greg Chicares, 2020/09/20
- [lmi-commits] [lmi] valyuta/002 18e7015 1/7: Do away with unused return value #1, Greg Chicares, 2020/09/20
- [lmi-commits] [lmi] valyuta/002 2f32980 5/7: Do away with unused return value #5, Greg Chicares, 2020/09/20
- [lmi-commits] [lmi] valyuta/002 89b2c7a 6/7: Fix incorrect documentation, Greg Chicares, 2020/09/20
- [lmi-commits] [lmi] valyuta/002 5fb74f1 7/7: Prefer cents() to m(), Greg Chicares, 2020/09/20
- [lmi-commits] [lmi] valyuta/002 5447866 2/7: Do away with unused return value #2,
Greg Chicares <=
- [lmi-commits] [lmi] valyuta/002 96435be 3/7: Do away with unused return value #3, Greg Chicares, 2020/09/20
- [lmi-commits] [lmi] valyuta/002 9419729 4/7: Do away with unused return value #4, Greg Chicares, 2020/09/20