diff options
author | Subodh Kumar <s7158.kumar@samsung.com> | 2017-10-06 09:52:41 -0700 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2017-10-06 09:52:45 -0700 |
commit | 8d880d7f41f0b17d8b680b8e290bd5729ba8bc32 (patch) | |
tree | a59ea8b0b7231ddbb95b9436518d5875b7bb5a8b /src/lib/evas/common | |
parent | e5a588b0bf150beff7cf9b74612456bf2c5f7475 (diff) |
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 <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/evas/common')
-rw-r--r-- | src/lib/evas/common/evas_image_data.c | 3 |
1 files changed, 1 insertions, 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 | |||
110 | } | 110 | } |
111 | 111 | ||
112 | int | 112 | int |
113 | evas_common_rgba_image_size_set(Image_Entry *ie_dst, const Image_Entry *ie_im, unsigned int w, unsigned int h EINA_UNUSED) | 113 | 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) |
114 | { | 114 | { |
115 | RGBA_Image *dst = (RGBA_Image *) ie_dst; | 115 | RGBA_Image *dst = (RGBA_Image *) ie_dst; |
116 | RGBA_Image *im = (RGBA_Image *) ie_im; | 116 | 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 | |||
121 | (im->cache_entry.space == EVAS_COLORSPACE_YCBCR420TM12601_PL) || | 121 | (im->cache_entry.space == EVAS_COLORSPACE_YCBCR420TM12601_PL) || |
122 | (im->cache_entry.space == EVAS_COLORSPACE_YCBCR420NV12601_PL)) | 122 | (im->cache_entry.space == EVAS_COLORSPACE_YCBCR420NV12601_PL)) |
123 | { | 123 | { |
124 | w &= ~0x1; | ||
125 | dst->cs.data = calloc(1, dst->cache_entry.h * sizeof(unsigned char *) * 2); | 124 | dst->cs.data = calloc(1, dst->cache_entry.h * sizeof(unsigned char *) * 2); |
126 | } | 125 | } |
127 | 126 | ||