summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_textblock.c
diff options
context:
space:
mode:
authorJiyoun Park <jy0703.park@samsung.com>2018-09-28 18:07:01 +0900
committerJiyoun Park <jy0703.park@samsung.com>2018-09-28 18:07:01 +0900
commit56e6ac1f5b15075300fcd347d98fdb4d4f99c7ea (patch)
tree87cb83066a8636885c68a3e65293226b90feed94 /src/lib/evas/canvas/evas_object_textblock.c
parent9fc687a8c3b57c9bd74d48e3ae757ed9f9d3cb7b (diff)
evas_object_textblock: fix warning the dereference before null check
Diffstat (limited to 'src/lib/evas/canvas/evas_object_textblock.c')
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index 86c422b..8be4865 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -6959,14 +6959,14 @@ evas_textblock_style_free(Evas_Textblock_Style *ts)
6959static void 6959static void
6960_evas_textblock_update_format_nodes_from_style_tag(Efl_Canvas_Text_Data *o) 6960_evas_textblock_update_format_nodes_from_style_tag(Efl_Canvas_Text_Data *o)
6961{ 6961{
6962 Evas_Object_Textblock_Node_Format *fnode = o->format_nodes;
6963
6964 if (!o) 6962 if (!o)
6965 { 6963 {
6966 ERR("The given address Efl_Canvas_Text_Data is NULL"); 6964 ERR("The given address Efl_Canvas_Text_Data is NULL");
6967 return; 6965 return;
6968 } 6966 }
6969 6967
6968 Evas_Object_Textblock_Node_Format *fnode = o->format_nodes;
6969
6970 while (fnode) 6970 while (fnode)
6971 { 6971 {
6972 const char *match; 6972 const char *match;