gnucash maint: Fix travis compilation error.

John Ralls jralls at code.gnucash.org
Sat Jan 9 17:39:02 EST 2016


Updated	 via  https://github.com/Gnucash/gnucash/commit/abeb07bc (commit)
	from  https://github.com/Gnucash/gnucash/commit/9c554ec3 (commit)



commit abeb07bcc8023982ce8aad15a22c8c1c8c3f1f1c
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Jan 9 14:38:54 2016 -0800

    Fix travis compilation error.

diff --git a/src/gnome/dialog-sx-editor.c b/src/gnome/dialog-sx-editor.c
index 30d2b79..9e0a2d8 100644
--- a/src/gnome/dialog-sx-editor.c
+++ b/src/gnome/dialog-sx-editor.c
@@ -750,10 +750,10 @@ gnc_sxed_check_consistent( GncSxEditorDialog *sxed )
 
     for ( i = 0; i < numIters && !unbalanceable; i++ )
     {
+        GList *splitList = xaccSchedXactionGetSplits (sxed->sx);
         gnc_sx_randomize_variables(vars);
         g_hash_table_foreach( txns, set_sums_to_zero, NULL );
 
-        GList *splitList = xaccSchedXactionGetSplits (sxed->sx);
         splitCount += g_list_length( splitList );
 
         for ( ; splitList; splitList = splitList->next )



Summary of changes:
 src/gnome/dialog-sx-editor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list