diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-23 02:11:58 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-23 02:11:58 -0400 |
commit | 1091f0d07b8fae388202a449239e8de321545a2a (patch) | |
tree | c96ec5bc1d63f80b31284c502094db969720f741 /format.cc | |
parent | 6365b8b7a807351209330ba65b05e612c5901908 (diff) | |
download | fork-ledger-1091f0d07b8fae388202a449239e8de321545a2a.tar.gz fork-ledger-1091f0d07b8fae388202a449239e8de321545a2a.tar.bz2 fork-ledger-1091f0d07b8fae388202a449239e8de321545a2a.zip |
slight cleanup
Diffstat (limited to 'format.cc')
-rw-r--r-- | format.cc | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -375,6 +375,7 @@ bool format_account::disp_subaccounts_p(const account_t * account, bool matches = disp_pred(account); value_t acct_total; bool computed = false; + value_t result; to_show = NULL; @@ -384,9 +385,7 @@ bool format_account::disp_subaccounts_p(const account_t * account, if (! disp_pred((*i).second)) continue; - value_t result; format_t::compute_total(result, details_t((*i).second)); - if (! computed) { format_t::compute_total(acct_total, details_t(account)); computed = true; |