src/ui/gui/helper.c (clone_list_store): Remove unused variable
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 27 Mar 2021 17:53:12 +0000 (18:53 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 27 Mar 2021 17:53:12 +0000 (18:53 +0100)
src/ui/gui/helper.c

index 4e9cdfb418187f2454ef3434513e0f4f2b01b440..9b40c08ab5b741f819f416c81d7a34f66a2a849e 100644 (file)
@@ -163,7 +163,6 @@ clone_list_store (const GtkListStore *src)
   const gint n_cols =  gtk_tree_model_get_n_columns (GTK_TREE_MODEL (src));
   GType *types = g_malloc (sizeof (*types) *  n_cols);
 
-  int row = 0;
   GtkListStore *dest;
 
   for (i = 0 ; i < n_cols; ++i)
@@ -188,7 +187,6 @@ clone_list_store (const GtkListStore *src)
 
          g_value_unset (&val);
        }
-      row++;
     }
 
   g_free (types);