forked from enlightenment/efl
evas_object_textblock: fix warning the dereference before null check
This commit is contained in:
parent
9fc687a8c3
commit
56e6ac1f5b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue