summaryrefslogtreecommitdiff
path: root/src/lib/evas/common
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-04-10 10:49:39 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-04-10 11:34:50 +0900
commit3fd7f199da95efa74345f4efdb19d41f34fdc1b1 (patch)
treea13e88c5f6d1c9174041674dcd7254675152a3e4 /src/lib/evas/common
parentd02f99ee21f6920102ea23da5ecc438290c22752 (diff)
Evas: Fix use of uninitialized values
Not a meaningful issue, but let's make Coverity happy. Fixes: - CID 1293522 - CID 1293521
Diffstat (limited to 'src/lib/evas/common')
-rw-r--r--src/lib/evas/common/evas_scale_sample.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/evas/common/evas_scale_sample.c b/src/lib/evas/common/evas_scale_sample.c
index 2de5632..0933e7f 100644
--- a/src/lib/evas/common/evas_scale_sample.c
+++ b/src/lib/evas/common/evas_scale_sample.c
@@ -485,6 +485,9 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst,
485 src_data = src->image.data; 485 src_data = src->image.data;
486 dst_data = dst->image.data; 486 dst_data = dst->image.data;
487 487
488 mask_x = dc->clip.mask_x;
489 mask_y = dc->clip.mask_y;
490
488 if (dc->clip.use) 491 if (dc->clip.use)
489 { 492 {
490 dst_clip_x = dc->clip.x; 493 dst_clip_x = dc->clip.x;
@@ -611,8 +614,6 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst,
611 if (dc->mul.use) 614 if (dc->mul.use)
612 func2 = evas_common_gfx_func_composite_pixel_color_span_get(src->cache_entry.flags.alpha, src->cache_entry.flags.alpha_sparse, dc->mul.col, dst->cache_entry.flags.alpha, dst_clip_w, EVAS_RENDER_COPY); 615 func2 = evas_common_gfx_func_composite_pixel_color_span_get(src->cache_entry.flags.alpha, src->cache_entry.flags.alpha_sparse, dc->mul.col, dst->cache_entry.flags.alpha, dst_clip_w, EVAS_RENDER_COPY);
613 // Adjust clipping info 616 // Adjust clipping info
614 mask_x = dc->clip.mask_x;
615 mask_y = dc->clip.mask_y;
616 if (EINA_UNLIKELY((dst_clip_x - mask_x) < 0)) 617 if (EINA_UNLIKELY((dst_clip_x - mask_x) < 0))
617 dst_clip_x = mask_x; 618 dst_clip_x = mask_x;
618 if (EINA_UNLIKELY((dst_clip_y - mask_y) < 0)) 619 if (EINA_UNLIKELY((dst_clip_y - mask_y) < 0))