add function trace

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9084 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2003-08-16 04:12:38 +00:00
parent d8f93e05f8
commit 7376a5625b

View File

@ -418,6 +418,7 @@ xaccAccountCommitEdit (Account *acc)
acc->editlevel--;
if (0 < acc->editlevel) return;
ENTER (" ");
if (0 > acc->editlevel)
{
PERR ("unbalanced call - resetting (was %d)", acc->editlevel);
@ -513,6 +514,7 @@ xaccAccountCommitEdit (Account *acc)
xaccGroupRemoveAccount(acc->parent, acc);
xaccFreeAccount(acc);
}
LEAVE (" ");
}
void