croco: Remove duplicated conditions

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1219
This commit is contained in:
qarmin 2020-04-27 14:07:18 +02:00 committed by Florian Müllner
parent ba69cd99d1
commit c90910731f

View File

@ -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 ;