From 522488eed976d48916e20c45c336a21ff1c82605 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 29 Sep 2017 12:32:10 +0900 Subject: [PATCH] efl ui textpath - remove unused vars due to dead code removal fix warning --- src/lib/elementary/efl_ui_textpath.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/elementary/efl_ui_textpath.c b/src/lib/elementary/efl_ui_textpath.c index 9b0686f3b3..aa2bf0e20d 100644 --- a/src/lib/elementary/efl_ui_textpath.c +++ b/src/lib/elementary/efl_ui_textpath.c @@ -229,7 +229,7 @@ _text_draw(Efl_Ui_Textpath_Data *pd) double slice_unit, slice_len; int w1, w2; int remained_w; - int total_slice, drawn_slice = 0; + int drawn_slice = 0; int cur_map_point = 0, map_point_no; Eina_Size2D sz; @@ -241,7 +241,6 @@ _text_draw(Efl_Ui_Textpath_Data *pd) slice_unit = (double)pd->slice_no / pd->total_length; slice_len = 1.0 / slice_unit; - total_slice = sz.w / slice_len + 1; map_point_no = _map_point_calc(pd); if (map_point_no == 0)