evas: drop redundant pointer check

Summary:
The function already has a precondition test for !font, so this
additional test will never trigger.

@fix CID1371525

Reviewers: cedric, jpeg

Subscribers: jpeg, cedric

Differential Revision: https://phab.enlightenment.org/D4682

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Bryce Harrington 2017-03-15 10:40:01 -07:00 committed by Cedric BAIL
parent 23eb88709b
commit 24ed55539d
1 changed files with 1 additions and 2 deletions

View File

@ -432,8 +432,7 @@ _evas_text_efl_text_properties_font_set(Eo *eo_obj, Evas_Text_Data *o, const cha
evas_object_async_block(obj);
if ((size == o->cur.size) &&
((!font && !o->cur.font) ||
(font && o->cur.font && !strcmp(font, o->cur.font)))) return;
(o->cur.font && !strcmp(font, o->cur.font))) return;
/* We can't assume the given font is same with current fdesc by comparing string.
Since Evas starts to supporting "auto" for language,