tests: Silence a compiler warning
authorMatthias Clasen <mclasen@redhat.com>
Fri, 9 Dec 2022 18:13:24 +0000 (13:13 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 9 Dec 2022 18:13:24 +0000 (13:13 -0500)
tests/testnotebookdnd.c

index 5bb1ce4458a9d4458b79873e03b3ce8626dbc852..32f2b977738f7a48adf9cb56eba17d5af4ddd8f6 100644 (file)
@@ -230,7 +230,6 @@ create_notebook_with_notebooks (const char      **labels,
                                 GtkPositionType   pos)
 {
   GtkWidget *notebook, *title, *page;
-  int count = 0;
 
   notebook = gtk_notebook_new ();
   g_signal_connect (notebook, "create-window",
@@ -251,7 +250,6 @@ create_notebook_with_notebooks (const char      **labels,
       gtk_notebook_set_tab_reorderable (GTK_NOTEBOOK (notebook), page, TRUE);
       gtk_notebook_set_tab_detachable (GTK_NOTEBOOK (notebook), page, TRUE);
 
-      count++;
       labels++;
     }