jsuya pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=a6a44ecb9dffef3d1efc12fa91645a3e669011fa
commit a6a44ecb9dffef3d1efc12fa91645a3e669011fa Author: Bowon Ryu <[email protected]> Date: Tue Dec 24 11:36:49 2019 +0900 evas_object_textblock: remove unreachable code Summary: This less-than-zero comparison of an unsigned value is never true.. this condition can not be true. Test Plan: N/A Reviewers: ali.alzyod, woohyun, jsuya Reviewed By: jsuya Subscribers: jsuya, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10961 --- src/lib/evas/canvas/evas_object_textblock.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c index c15da53564..c25b9dcc7a 100644 --- a/src/lib/evas/canvas/evas_object_textblock.c +++ b/src/lib/evas/canvas/evas_object_textblock.c @@ -17397,9 +17397,6 @@ EAPI int evas_textblock_fit_size_range_set(Evas_Object *obj, unsigned int min_f if (!max_changed && !min_changed) return EVAS_ERROR_SUCCESS; - if (min_font_size < 0 || max_font_size <0) - return EVAS_ERROR_INVALID_PARAM; - if (max_font_size < min_font_size) return EVAS_ERROR_INVALID_PARAM; --
