devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d89adaccfbba5733050a8881594f9380eb3bebc5

commit d89adaccfbba5733050a8881594f9380eb3bebc5
Author: Christopher Michael <[email protected]>
Date:   Tue Mar 10 11:02:18 2020 -0400

    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.
---
 src/lib/evas/canvas/evas_object_text.c | 2 ++
 1 file changed, 2 insertions(+)

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)
         evas_object_render_pre_prev_cur_add(&obj->layer->evas->clip_changes,
                                             (Evas_Object *)eo_obj, obj);
      }
+#else
+   (void)eo_obj;
 #endif
 
    return (Efl_Text_Bidirectional_Type)o->bidi_dir;

-- 


Reply via email to