mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Fix uninitialized use in gnc_split_register_empty_current_trans_except_split
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13841 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1030,9 +1030,9 @@ gnc_split_register_empty_current_trans_except_split (SplitRegister *reg,
|
||||
}
|
||||
|
||||
/* This is now the pending transaction */
|
||||
info = gnc_split_register_get_info (reg);
|
||||
g_assert(xaccTransLookup(&info->pending_trans_guid,
|
||||
gnc_get_current_book()) == NULL);
|
||||
info = gnc_split_register_get_info (reg);
|
||||
info->pending_trans_guid = *xaccTransGetGUID(trans);
|
||||
|
||||
gnc_resume_gui_refresh ();
|
||||
|
||||
Reference in New Issue
Block a user