File gcc16.patch of Package gnucash

Index: gnucash-5.13/gnucash/gnome/dialog-sx-since-last-run.c
===================================================================
--- gnucash-5.13.orig/gnucash/gnome/dialog-sx-since-last-run.c
+++ gnucash-5.13/gnucash/gnome/dialog-sx-since-last-run.c
@@ -808,11 +808,10 @@ gsslrtma_removing_cb (GncSxInstanceModel
     GtkTreePath *model_path;
     GtkTreeIter tree_iter;
     GList *iter;
-    int index = 0;
     GncSxInstances *instances;
 
     // get index, create path, remove
-    for (iter = gnc_sx_instance_model_get_sx_instances_list (inst_model); iter != NULL; iter = iter->next, index++)
+    for (iter = gnc_sx_instance_model_get_sx_instances_list (inst_model); iter != NULL; iter = iter->next)
     {
         instances = (GncSxInstances*)iter->data;
         if (instances->sx == to_remove_sx)
openSUSE Build Service is sponsored by