raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=da45b6ad57f3fb634b7d537ac92ccda4d4cff7c0
commit da45b6ad57f3fb634b7d537ac92ccda4d4cff7c0 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Fri Aug 22 20:02:06 2014 +0900 evas sw core - scaler - remove logically dead code fix CID 1039445 1039446 --- src/lib/evas/common/evas_scale_sample.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/lib/evas/common/evas_scale_sample.c b/src/lib/evas/common/evas_scale_sample.c index 365b6ac..aeca46f 100644 --- a/src/lib/evas/common/evas_scale_sample.c +++ b/src/lib/evas/common/evas_scale_sample.c @@ -347,11 +347,6 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst, } if (dst_region_w <= 0) return EINA_FALSE; if (src_region_w <= 0) return EINA_FALSE; - if (dst_clip_x < 0) - { - dst_clip_w += dst_clip_x; - dst_clip_x = 0; - } if (dst_clip_w <= 0) return EINA_FALSE; if (dst_clip_x >= dst_w) return EINA_FALSE; if (dst_clip_x < dst_region_x) @@ -381,11 +376,6 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst, } if (dst_region_h <= 0) return EINA_FALSE; if (src_region_h <= 0) return EINA_FALSE; - if (dst_clip_y < 0) - { - dst_clip_h += dst_clip_y; - dst_clip_y = 0; - } if (dst_clip_h <= 0) return EINA_FALSE; if (dst_clip_y >= dst_h) return EINA_FALSE; if (dst_clip_y < dst_region_y) --
