summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-31 14:51:30 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-31 14:51:30 -0400
commite1ce0245465f6cf6d5790c269892ccabcdcd6d1f (patch)
tree66f6157b3b929f1a30aac6d309e8da8917c997e8 /src
parent4772495083eab0f377809842429b2d7f4ce3b41d (diff)
downloadfork-ledger-e1ce0245465f6cf6d5790c269892ccabcdcd6d1f.tar.gz
fork-ledger-e1ce0245465f6cf6d5790c269892ccabcdcd6d1f.tar.bz2
fork-ledger-e1ce0245465f6cf6d5790c269892ccabcdcd6d1f.zip
Added some missing break statements.
Diffstat (limited to 'src')
-rw-r--r--src/report.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc
index 1f3ecf14..37ac1912 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -645,12 +645,14 @@ expr_t::ptr_op_t report_t::lookup(const string& name)
return expr_t::op_t::wrap_functor
(reporter<account_t, acct_handler_ptr, &report_t::accounts_report>
(new format_accounts(*this, FORMAT(balance_format))));
+ break;
case 'e':
if (std::strcmp(p, "equity") == 0)
return expr_t::op_t::wrap_functor
(reporter<account_t, acct_handler_ptr, &report_t::accounts_report>
(new format_equity(*this, FORMAT(print_format))));
+ break;
case 'p':
if (*(p + 1) == '\0' ||