diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-10-21 07:44:13 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-10-21 07:44:13 -0400 |
commit | c0e8523a0138d428a2625b6cc3cf6d235ad2371d (patch) | |
tree | 49ca6eb212cf4e1392f339479028f977edb5d0fc /gtk/gtkfilesystemmodel.c | |
parent | 25cf7023453f18be2100a7aa1afbf16964e5c0d0 (diff) | |
download | gtk+-c0e8523a0138d428a2625b6cc3cf6d235ad2371d.tar.gz |
filesystemmodel: Fix a compiler warning
Diffstat (limited to 'gtk/gtkfilesystemmodel.c')
-rw-r--r-- | gtk/gtkfilesystemmodel.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c index 8674345f88..21e5b6ea2c 100644 --- a/gtk/gtkfilesystemmodel.c +++ b/gtk/gtkfilesystemmodel.c @@ -291,10 +291,7 @@ node_set_visible_and_filtered_out (GtkFileSystemModel *model, guint id, gboolean } else { - guint row; - - row = node_get_tree_row (model, id); - g_assert (row < model->files->len); + g_assert (node_get_tree_row (model, id) < model->files->len); node->visible = FALSE; node_invalidate_index (model, id); |