From: Bowon Ryu Date: Tue, 15 Dec 2020 09:13:45 +0000 (+0900) Subject: evas_textblock: remove unreachable code X-Git-Tag: submit/tizen/20201220.213638~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a769e7ae2a8723bc47d7626676af58ec382b07b4;p=platform%2Fupstream%2Fefl.git evas_textblock: remove unreachable code Change-Id: Id3f70515c2a837549e19031d15f116b5acfb2043 Signed-off-by: Bowon Ryu --- diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c index 63e692c..73c077e 100644 --- a/src/lib/evas/canvas/evas_object_textblock.c +++ b/src/lib/evas/canvas/evas_object_textblock.c @@ -6122,12 +6122,6 @@ _layout_get_hyphenationwrap(Ctxt *c, Evas_Object_Textblock_Format *fmt, hyphen_off = word_end - word_start; - /* We limit our search to the start of the line */ - if (word_start < line_start) - { - word_start = line_start; - } - for (i = hyphen_off, pos = word_end ; pos > word_start ; i--, pos--) { if (