Added some missing break statements.
This commit is contained in:
parent
4772495083
commit
e1ce024546
1 changed files with 2 additions and 0 deletions
|
|
@ -645,12 +645,14 @@ expr_t::ptr_op_t report_t::lookup(const string& name)
|
||||||
return expr_t::op_t::wrap_functor
|
return expr_t::op_t::wrap_functor
|
||||||
(reporter<account_t, acct_handler_ptr, &report_t::accounts_report>
|
(reporter<account_t, acct_handler_ptr, &report_t::accounts_report>
|
||||||
(new format_accounts(*this, FORMAT(balance_format))));
|
(new format_accounts(*this, FORMAT(balance_format))));
|
||||||
|
break;
|
||||||
|
|
||||||
case 'e':
|
case 'e':
|
||||||
if (std::strcmp(p, "equity") == 0)
|
if (std::strcmp(p, "equity") == 0)
|
||||||
return expr_t::op_t::wrap_functor
|
return expr_t::op_t::wrap_functor
|
||||||
(reporter<account_t, acct_handler_ptr, &report_t::accounts_report>
|
(reporter<account_t, acct_handler_ptr, &report_t::accounts_report>
|
||||||
(new format_equity(*this, FORMAT(print_format))));
|
(new format_equity(*this, FORMAT(print_format))));
|
||||||
|
break;
|
||||||
|
|
||||||
case 'p':
|
case 'p':
|
||||||
if (*(p + 1) == '\0' ||
|
if (*(p + 1) == '\0' ||
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue