From b20869862e14af6b7ec0161aa2065ab9555fb5fc Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 27 Mar 2021 18:53:12 +0100 Subject: [PATCH] src/ui/gui/helper.c (clone_list_store): Remove unused variable --- src/ui/gui/helper.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ui/gui/helper.c b/src/ui/gui/helper.c index 4e9cdfb418..9b40c08ab5 100644 --- a/src/ui/gui/helper.c +++ b/src/ui/gui/helper.c @@ -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); -- 2.30.2