From: John Darrington Date: Sat, 27 Mar 2021 17:53:12 +0000 (+0100) Subject: src/ui/gui/helper.c (clone_list_store): Remove unused variable X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b20869862e14af6b7ec0161aa2065ab9555fb5fc;p=pspp src/ui/gui/helper.c (clone_list_store): Remove unused variable --- 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);