From 35b65e0643f264ef5e7063ae1c92559fe67ce7ed Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Thu, 28 Sep 2017 12:08:16 +0900 Subject: [PATCH] efl ui text - remove logically dead code it is indeed pointless code. fix coverity CID 1380544 --- src/lib/elementary/efl_ui_textpath.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/elementary/efl_ui_textpath.c b/src/lib/elementary/efl_ui_textpath.c index 722dbe3..9b0686f 100644 --- a/src/lib/elementary/efl_ui_textpath.c +++ b/src/lib/elementary/efl_ui_textpath.c @@ -274,8 +274,6 @@ _text_draw(Efl_Ui_Textpath_Data *pd) slice_no = pd->slice_no * seg->length / (double)pd->total_length; if (slice_no == 0) slice_no = len * slice_unit + 1; - if (remained_w == 0) - slice_no = total_slice - drawn_slice; drawn_slice += slice_no; _segment_draw(pd, slice_no, w1, w2, cur_map_point, map, seg->bezier); cur_map_point += slice_no * 4; -- 2.7.4