[gtk/matthiasc/for-master: 14/14] Fix the build with clang
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 14/14] Fix the build with clang
- Date: Fri, 10 Jul 2020 15:57:39 +0000 (UTC)
commit 0401e55efccdf9e53ce2825c3bf58ba5c0f5ded3
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jul 10 11:55:46 2020 -0400
Fix the build with clang
clang doesn't allow G_GNUC_FALLBACK in dead code.
Seems silly, but what can we do.
gtk/gtkfilterlistmodel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkfilterlistmodel.c b/gtk/gtkfilterlistmodel.c
index 7bc679c9c8..387393cd69 100644
--- a/gtk/gtkfilterlistmodel.c
+++ b/gtk/gtkfilterlistmodel.c
@@ -494,7 +494,7 @@ gtk_filter_list_model_refilter (GtkFilterListModel *self,
{
default:
g_assert_not_reached ();
- G_GNUC_FALLTHROUGH;
+ /* fall thru */
case GTK_FILTER_CHANGE_DIFFERENT:
self->matches = gtk_bitset_new_empty ();
pending = gtk_bitset_new_range (0, g_list_model_get_n_items (self->model));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]