filesystemmodel: Fix a compiler warning
authorMatthias Clasen <mclasen@redhat.com>
Fri, 21 Oct 2022 14:40:51 +0000 (10:40 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Oct 2022 16:15:36 +0000 (12:15 -0400)
gtk/gtkfilesystemmodel.c

index 21e5b6ea2c3a6cb8d5d92b54c4ce1e995a878421..93f063ae8bed6610b030aba317cfb7016e9f5dae 100644 (file)
@@ -247,7 +247,7 @@ node_validate_rows (GtkFileSystemModel *model, guint up_to_index, guint up_to_ro
   model->n_nodes_valid = i;
 }
 
-static guint
+static guint G_GNUC_UNUSED
 node_get_tree_row (GtkFileSystemModel *model, guint index)
 {
   if (model->n_nodes_valid <= index)