mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[budget] remove unused code/variables
This commit is contained in:
parent
fa66f0fa7f
commit
b9bc1986f3
@ -215,7 +215,6 @@ static void
|
||||
gnc_budget_view_init(GncBudgetView *budget_view)
|
||||
{
|
||||
GncBudgetViewPrivate *priv;
|
||||
Account* root;
|
||||
gint num_top_accounts;
|
||||
gint i;
|
||||
|
||||
@ -225,11 +224,8 @@ gnc_budget_view_init(GncBudgetView *budget_view)
|
||||
|
||||
priv = GNC_BUDGET_VIEW_GET_PRIVATE(budget_view);
|
||||
|
||||
/* Keep track of the root and top level asset, liability, income and expense accounts */
|
||||
root = gnc_book_get_root_account(gnc_get_current_book());
|
||||
num_top_accounts = gnc_account_n_children(root);
|
||||
|
||||
priv->rootAcct = root;
|
||||
/* Keep track of the root account */
|
||||
priv->rootAcct = gnc_book_get_root_account(gnc_get_current_book());
|
||||
|
||||
LEAVE("");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user