evas: there is no effect of variable assignment outside the function.
authorSubodh Kumar <s7158.kumar@samsung.com>
Fri, 6 Oct 2017 16:52:41 +0000 (09:52 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 6 Oct 2017 16:52:45 +0000 (09:52 -0700)
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 <cedric@osg.samsung.com>
src/lib/evas/common/evas_image_data.c

index 1269818..1c5b788 100644 (file)
@@ -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);
      }