cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=8d880d7f41f0b17d8b680b8e290bd5729ba8bc32
commit 8d880d7f41f0b17d8b680b8e290bd5729ba8bc32 Author: Subodh Kumar <s7158.ku...@samsung.com> Date: Fri Oct 6 09:52:41 2017 -0700 evas: there is no effect of variable assignment outside the function. Summary: Variable assigned is not used anywhere else, making it unused. @fix Test Plan: Na Reviewers: raster, cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5263 Signed-off-by: Cedric BAIL <ced...@osg.samsung.com> --- src/lib/evas/common/evas_image_data.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/evas/common/evas_image_data.c b/src/lib/evas/common/evas_image_data.c index 1269818c1b..1c5b788232 100644 --- a/src/lib/evas/common/evas_image_data.c +++ b/src/lib/evas/common/evas_image_data.c @@ -110,7 +110,7 @@ evas_common_rgba_image_from_copied_data(Image_Entry* ie_dst, int w, int h, DATA3 } int -evas_common_rgba_image_size_set(Image_Entry *ie_dst, const Image_Entry *ie_im, unsigned int w, unsigned int h EINA_UNUSED) +evas_common_rgba_image_size_set(Image_Entry *ie_dst, const Image_Entry *ie_im, unsigned int w EINA_UNUSED, unsigned int h EINA_UNUSED) { RGBA_Image *dst = (RGBA_Image *) ie_dst; RGBA_Image *im = (RGBA_Image *) ie_im; @@ -121,7 +121,6 @@ evas_common_rgba_image_size_set(Image_Entry *ie_dst, const Image_Entry *ie_im, u (im->cache_entry.space == EVAS_COLORSPACE_YCBCR420TM12601_PL) || (im->cache_entry.space == EVAS_COLORSPACE_YCBCR420NV12601_PL)) { - w &= ~0x1; dst->cs.data = calloc(1, dst->cache_entry.h * sizeof(unsigned char *) * 2); } --