We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21e9794 commit 3315ebcCopy full SHA for 3315ebc
src/pages/retirement_pages.cpp
@@ -96,9 +96,7 @@ void budget::retirement_fi_ratio_over_time(html_writer& w) {
96
ss << "]},";
97
}
98
99
- auto fixed_expenses = budget::get_fi_expenses();
100
-
101
- if (fixed_expenses) {
+ if (auto fixed_expenses = budget::get_fi_expenses(); fixed_expenses) {
102
ss << "{ name: 'FI Ratio (" << fixed_expenses.dollars() << ' ' << get_default_currency() << " yearly expenses)',";
103
ss << "data: [";
104
0 commit comments