forked from enlightenment/efl
Edje: remove a unreachable code from edje_text.c
Summary: If "text" is NULL, it is set as empty string in the above code. So, the removed line is unreachable. Test Plan: N/A Reviewers: raster, cedric, herdsman, woohyun, jpeg, Hermet Reviewed By: Hermet Differential Revision: https://phab.enlightenment.org/D4462
This commit is contained in:
parent
88e7606b39
commit
835c8d1b77
|
@ -297,7 +297,6 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
|
|||
_edje_calc_params_need_type_text(params);
|
||||
if (params->type.text->size)
|
||||
size = params->type.text->size;
|
||||
if (!text) text = "";
|
||||
|
||||
if ((text == ep->typedata.text->cache.in_str)
|
||||
|| (text && ep->typedata.text->cache.in_str && !strcmp(ep->typedata.text->cache.in_str, text)))
|
||||
|
|
Loading…
Reference in New Issue