Fix use of uninitialised value in gnc_split_register_load()

The column value appears to be unused by gnc_split_register_show_trans()
but vc_loc.virt_col is an int so its value will not have been default
initialised. Set it to 0 to be consistent with other callers.
pull/1684/head
Simon Arlott 3 years ago
parent eb6addb058
commit 57ca13515d
No known key found for this signature in database
GPG Key ID: DF001BFD83E75990

@ -902,6 +902,7 @@ gnc_split_register_load (SplitRegister* reg, GList* slist,
{
VirtualCellLocation vc_loc;
vc_loc.virt_row = 0;
vc_loc.virt_col = 0;
gnc_split_register_show_trans (reg, vc_loc);
}
else

Loading…
Cancel
Save