evas_object_textblock: fix warning the dereference before null check

This commit is contained in:
Jiyoun Park 2018-09-28 18:07:01 +09:00
parent 9fc687a8c3
commit 56e6ac1f5b
1 changed files with 2 additions and 2 deletions

View File

@ -6959,14 +6959,14 @@ evas_textblock_style_free(Evas_Textblock_Style *ts)
static void
_evas_textblock_update_format_nodes_from_style_tag(Efl_Canvas_Text_Data *o)
{
Evas_Object_Textblock_Node_Format *fnode = o->format_nodes;
if (!o)
{
ERR("The given address Efl_Canvas_Text_Data is NULL");
return;
}
Evas_Object_Textblock_Node_Format *fnode = o->format_nodes;
while (fnode)
{
const char *match;