evas: to avoid warning unused variable and unnecessary assignment is removed.
authorPrince Kumar Dubey <prince.dubey@samsung.com>
Fri, 13 Oct 2017 19:14:20 +0000 (12:14 -0700)
committerCedric Bail <cedric@osg.samsung.com>
Fri, 13 Oct 2017 19:14:26 +0000 (12:14 -0700)
Reviewers: raster, cedric

Subscribers: rajeshps, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
src/modules/evas/engines/software_x11/evas_xlib_color.c

index 4070c48..a016bb5 100644 (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;