Fix fall through in Account.cpp

Found with -Wimplicit-fallthrough, but older versions of GCC don't support it. So it will take some effort to add it to the build config.

I think it did not result in a reproducible bug.
This commit is contained in:
Niels 2018-02-28 00:32:41 +00:00
parent 06ad55cae9
commit 7ef8e6d489

View File

@ -409,6 +409,7 @@ gnc_account_get_property (GObject *object,
break;
case PROP_SORT_REVERSED:
g_value_set_boolean(value, xaccAccountGetSortReversed(account));
break;
case PROP_LOT_NEXT_ID:
/* Pre-set the value in case the frame is empty */
g_value_set_int64 (value, 0);
@ -533,6 +534,7 @@ gnc_account_set_property (GObject *object,
break;
case PROP_SORT_REVERSED:
xaccAccountSetSortReversed(account, g_value_get_boolean(value));
break;
case PROP_LOT_NEXT_ID:
qof_instance_set_path_kvp (QOF_INSTANCE (account), value, {"lot-mgmt", "next-id"});
break;