get rid of this topgroup thing

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@966 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-08-09 04:37:23 +00:00
parent 66617f517c
commit b54c46c335
2 changed files with 0 additions and 8 deletions

View File

@ -47,8 +47,6 @@
* knowledge of the internals of the AccountGroup in one file. *
\********************************************************************/
AccountGroup *topgroup = 0x0;
/********************************************************************\
\********************************************************************/
void
@ -84,8 +82,6 @@ xaccFreeAccountGroup( AccountGroup *grp )
int i;
if (NULL == grp) return;
if (grp == topgroup) topgroup = NULL; /* safety device */
for( i=0; i<grp->numAcc; i++ ) {
xaccFreeAccount( grp->account[i] );
}

View File

@ -144,8 +144,4 @@ void xaccConsolidateGrpTransactions (AccountGroup *);
Account * xaccGroupGetAccount (AccountGroup *, int);
double xaccGroupGetBalance (AccountGroup *);
/** GLOBALS *********************************************************/
extern AccountGroup *topgroup;
#endif /* __XACC_ACCOUNT_GROUP_H__ */