efl ui textpath - remove more unused vars
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 29 Sep 2017 05:52:04 +0000 (14:52 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 29 Sep 2017 05:52:04 +0000 (14:52 +0900)
src/lib/elementary/efl_ui_textpath.c

index aa2bf0e..7019f59 100644 (file)
@@ -226,7 +226,7 @@ _text_draw(Efl_Ui_Textpath_Data *pd)
 {
    Efl_Ui_Textpath_Segment *seg;
    Evas_Map *map;
-   double slice_unit, slice_len;
+   double slice_unit;
    int w1, w2;
    int remained_w;
    int drawn_slice = 0;
@@ -240,8 +240,6 @@ _text_draw(Efl_Ui_Textpath_Data *pd)
      remained_w = pd->total_length;
    slice_unit = (double)pd->slice_no / pd->total_length;
 
-   slice_len = 1.0 / slice_unit;
-
    map_point_no = _map_point_calc(pd);
    if (map_point_no == 0)
      {