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:
Youngbok Shin 2016-12-08 13:31:04 +09:00 committed by Hermet Park
parent 88e7606b39
commit 835c8d1b77
1 changed files with 0 additions and 1 deletions

View File

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