croco: Remove duplicated conditions
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1219
This commit is contained in:
parent
ba69cd99d1
commit
c90910731f
@ -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 ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user