From e91e75173d0650293345694e263d038ee9f5588b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 4 Feb 2021 00:22:52 -0500 Subject: [PATCH] composetable: Remove a redundant check We already know seq_index is not NULL here. Pointed out in https://www.viva64.com/en/b/0793/ --- gtk/gtkcomposetable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcomposetable.c b/gtk/gtkcomposetable.c index a07f5da06f..c5261f8a63 100644 --- a/gtk/gtkcomposetable.c +++ b/gtk/gtkcomposetable.c @@ -1038,7 +1038,7 @@ gtk_compose_table_compact_check (const GtkComposeTableCompact *table, if (!seq_index) return FALSE; - if (seq_index && n_compose == 1) + if (n_compose == 1) return TRUE; seq = NULL;