[gnome-shell] croco: Remove duplicated conditions



commit c90910731f4815abc9c568c9c6d424b6f3056346
Author: qarmin <mikrutrafal54 gmail com>
Date:   Mon Apr 27 14:07:18 2020 +0200

    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 9ffe6727bc..766ad82820 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 ;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]