mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-07-29 23:58:03 -05:00
Use xaccGUIDNULL to initialize acc_guid member.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3968 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -298,11 +298,9 @@ xaccSplitGetAccountGUID(Split *split)
|
||||
void
|
||||
xaccSplitSetAccount(Split *s, Account *act)
|
||||
{
|
||||
int i;
|
||||
if(!act)
|
||||
{
|
||||
for(i = 0; i < 16; i++)
|
||||
s->acc_guid.data[i] = '\0';
|
||||
s->acc_guid = *xaccGUIDNULL();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user