evas: to avoid warning unused variable and unnecessary assignment is removed.

Reviewers: raster, cedric

Subscribers: rajeshps, jpeg

Differential Revision: https://phab.enlightenment.org/D5305

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
This commit is contained in:
Prince Kumar Dubey 2017-10-13 12:14:20 -07:00 committed by Cedric Bail
parent 1235459ed3
commit df5f404f09
1 changed files with 4 additions and 1 deletions

View File

@ -41,11 +41,14 @@ x_color_alloc_rgb(int nr, int ng, int nb, Display *d, Colormap cmap, Visual *v)
{
int r, g, b, i;
DATA8 *color_lut;
int sig_mask = 0, delt = 0;
int delt = 0;
/*
int sig_mask = 0;
for (i = 0; i < v->bits_per_rgb; i++)
sig_mask |= (0x1 << i);
sig_mask <<= (16 - v->bits_per_rgb);
*/
i = 0;
color_lut = malloc((nr) * (ng) * (nb));
if (!color_lut) return NULL;