some bug fixes

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@891 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-06-15 05:29:14 +00:00
parent 55b6cb7389
commit f1b64c8bab

View File

@ -330,7 +330,7 @@ xaccAccountRecomputeBalance( Account * acc )
double share_cleared_balance = 0.0;
double share_reconciled_balance = 0.0;
double amt = 0.0;
Split *split, *last_split;
Split *split, *last_split = NULL;
if( NULL == acc ) return;
if (FALSE == acc->changed) return;
@ -429,7 +429,7 @@ xaccCheckDateOrder (Account * acc, Split *split )
if (!s) {
printf ("Internal Error: xaccCheckDateOrder(): ");
printf (" split %s not present in account \n", split);
printf (" split %p not present in account \n", split);
return 0;
}