summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <devilhorns@comcast.net>2020-03-10 11:02:18 -0400
committerChristopher Michael <devilhorns@comcast.net>2020-03-10 11:02:18 -0400
commitd89adaccfbba5733050a8881594f9380eb3bebc5 (patch)
tree9b3974c26aeb485e513abb296c0833d31e38256e
parent54a841eb898afa44432bc90c758002001491891f (diff)
evas_object_text: Fix unused parameter
When we do Not build with BIDI_SUPPORT, then "const Eo *eo_obj" is never used and thus spits out an unused parameter warning during compile. This has been bugging me for quite some time now, so put in a small patch to silence this warning.
-rw-r--r--src/lib/evas/canvas/evas_object_text.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_object_text.c b/src/lib/evas/canvas/evas_object_text.c
index e016585591..8d13082d24 100644
--- a/src/lib/evas/canvas/evas_object_text.c
+++ b/src/lib/evas/canvas/evas_object_text.c
@@ -1154,6 +1154,8 @@ _evas_text_direction_get(const Eo *eo_obj, Evas_Text_Data *o)
1154 evas_object_render_pre_prev_cur_add(&obj->layer->evas->clip_changes, 1154 evas_object_render_pre_prev_cur_add(&obj->layer->evas->clip_changes,
1155 (Evas_Object *)eo_obj, obj); 1155 (Evas_Object *)eo_obj, obj);
1156 } 1156 }
1157#else
1158 (void)eo_obj;
1157#endif 1159#endif
1158 1160
1159 return (Efl_Text_Bidirectional_Type)o->bidi_dir; 1161 return (Efl_Text_Bidirectional_Type)o->bidi_dir;