mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix compiler warnings.
Patch by Colin Law: Attached is a patch to fix compiler warnings in split-register-model.c. In fact for me they prevent compilation, possibly because I have specified --enable-compile-warnings. I have inspected the code and it appears that the warnings are unfounded, the code appears to be safe, though I can see why the warnings were generated. Signed-off-by: Christian Stimming <stimming@tuhh.de> git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18361 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
8292c87e1a
commit
19e02f6dea
@ -66,9 +66,10 @@ gnc_split_register_get_rbaln (VirtualLocation virt_loc, gpointer user_data, gboo
|
||||
Split *split;
|
||||
SRInfo *info = gnc_split_register_get_info (reg);
|
||||
gnc_numeric value = gnc_numeric_zero(), balance = gnc_numeric_zero();
|
||||
Account *account;
|
||||
Account *account = NULL;
|
||||
Transaction *trans;
|
||||
GList *node, *children, *child;
|
||||
GList *node, *child;
|
||||
GList *children = NULL;
|
||||
int i, row;
|
||||
|
||||
balance = gnc_numeric_zero();
|
||||
|
Loading…
Reference in New Issue
Block a user