mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/engine/Account.c: initialize the returned values in
finder_help_function(). This fixes bug #108883 (and possibly others not reported). git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8625 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
fe9ae37aeb
commit
9cc5fc5dfd
@ -69,6 +69,10 @@
|
|||||||
certain reports doesn't work right when the "reverse account
|
certain reports doesn't work right when the "reverse account
|
||||||
balances" is set in certain ways. Fixes #107472.
|
balances" is set in certain ways. Fixes #107472.
|
||||||
|
|
||||||
|
* src/engine/Account.c: initialize the returned values in
|
||||||
|
finder_help_function(). This fixes bug #108883 (and possibly
|
||||||
|
others not reported).
|
||||||
|
|
||||||
2003-06-14 Derek Atkins <derek@ihtfp.com>
|
2003-06-14 Derek Atkins <derek@ihtfp.com>
|
||||||
|
|
||||||
* src/backend/file/io-gncxml-v2.c: make the book-string an extern
|
* src/backend/file/io-gncxml-v2.c: make the book-string an extern
|
||||||
|
@ -3099,6 +3099,11 @@ finder_help_function(Account *account,
|
|||||||
{
|
{
|
||||||
GList *slp;
|
GList *slp;
|
||||||
|
|
||||||
|
/* First, make sure we set the data to NULL BEFORE we start */
|
||||||
|
if (split) *split = NULL;
|
||||||
|
if (trans) *trans = NULL;
|
||||||
|
|
||||||
|
/* Then see if we have any work to do */
|
||||||
if (account == NULL) return;
|
if (account == NULL) return;
|
||||||
|
|
||||||
/* Why is this loop iterated backwards ?? Presumably because the split
|
/* Why is this loop iterated backwards ?? Presumably because the split
|
||||||
@ -3118,9 +3123,6 @@ finder_help_function(Account *account,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if( split ) *split = NULL;
|
|
||||||
if( trans ) *trans = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Split *
|
Split *
|
||||||
|
Loading…
Reference in New Issue
Block a user