From c90910731f4815abc9c568c9c6d424b6f3056346 Mon Sep 17 00:00:00 2001 From: qarmin Date: Mon, 27 Apr 2020 14:07:18 +0200 Subject: [PATCH] croco: Remove duplicated conditions https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1219 --- src/st/croco/cr-term.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/st/croco/cr-term.c b/src/st/croco/cr-term.c index 9ffe6727b..766ad8282 100644 --- a/src/st/croco/cr-term.c +++ b/src/st/croco/cr-term.c @@ -291,7 +291,6 @@ cr_term_to_string (CRTerm const * a_this) for (cur = a_this; cur; cur = cur->next) { if ((cur->content.str == NULL) && (cur->content.num == NULL) - && (cur->content.str == NULL) && (cur->content.rgb == NULL)) continue; @@ -485,7 +484,6 @@ cr_term_one_to_string (CRTerm const * a_this) if ((a_this->content.str == NULL) && (a_this->content.num == NULL) - && (a_this->content.str == NULL) && (a_this->content.rgb == NULL)) return NULL ;