summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-22 20:02:06 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-22 20:14:59 +0900
commitda45b6ad57f3fb634b7d537ac92ccda4d4cff7c0 (patch)
treecedc62eab53d1eaca8b103ea782a49ae4d16cf50 /src/lib/evas
parentb21d6cfd0c4544d04ec8fb492d8cef73701574df (diff)
evas sw core - scaler - remove logically dead code
fix CID 1039445 1039446
Diffstat (limited to '')
-rw-r--r--src/lib/evas/common/evas_scale_sample.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/evas/common/evas_scale_sample.c b/src/lib/evas/common/evas_scale_sample.c
index 365b6ac957..aeca46f00f 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,
347 } 347 }
348 if (dst_region_w <= 0) return EINA_FALSE; 348 if (dst_region_w <= 0) return EINA_FALSE;
349 if (src_region_w <= 0) return EINA_FALSE; 349 if (src_region_w <= 0) return EINA_FALSE;
350 if (dst_clip_x < 0)
351 {
352 dst_clip_w += dst_clip_x;
353 dst_clip_x = 0;
354 }
355 if (dst_clip_w <= 0) return EINA_FALSE; 350 if (dst_clip_w <= 0) return EINA_FALSE;
356 if (dst_clip_x >= dst_w) return EINA_FALSE; 351 if (dst_clip_x >= dst_w) return EINA_FALSE;
357 if (dst_clip_x < dst_region_x) 352 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,
381 } 376 }
382 if (dst_region_h <= 0) return EINA_FALSE; 377 if (dst_region_h <= 0) return EINA_FALSE;
383 if (src_region_h <= 0) return EINA_FALSE; 378 if (src_region_h <= 0) return EINA_FALSE;
384 if (dst_clip_y < 0)
385 {
386 dst_clip_h += dst_clip_y;
387 dst_clip_y = 0;
388 }
389 if (dst_clip_h <= 0) return EINA_FALSE; 379 if (dst_clip_h <= 0) return EINA_FALSE;
390 if (dst_clip_y >= dst_h) return EINA_FALSE; 380 if (dst_clip_y >= dst_h) return EINA_FALSE;
391 if (dst_clip_y < dst_region_y) 381 if (dst_clip_y < dst_region_y)