forked from enlightenment/efl
efl: Fix set but unused warnings
Unfortunately setting unused variable to zero still produces a warning about variables being set but not used (on gcc 4.6.3). Signed-off-by: Mike McCormack <mikem@atratus.org> SVN revision: 79445
This commit is contained in:
parent
62f3df3e30
commit
82126b8ffd
|
@ -277,7 +277,19 @@ evas_software_egl_outbuf_setup_x(int w, int h, int rot, Outbuf_Depth depth,
|
||||||
int grayscale, int max_colors, Pixmap mask,
|
int grayscale, int max_colors, Pixmap mask,
|
||||||
int shape_dither, int destination_alpha)
|
int shape_dither, int destination_alpha)
|
||||||
{
|
{
|
||||||
|
(void) w;
|
||||||
|
(void) h;
|
||||||
|
(void) rot;
|
||||||
|
(void) depth;
|
||||||
|
(void) draw;
|
||||||
|
(void) cmap;
|
||||||
|
(void) x_depth;
|
||||||
|
(void) grayscale;
|
||||||
|
(void) max_colors;
|
||||||
|
(void) mask;
|
||||||
|
(void) shape_dither;
|
||||||
|
(void) destination_alpha;
|
||||||
|
(void) disp;
|
||||||
|
(void) vis;
|
||||||
return NULL;
|
return NULL;
|
||||||
w = h = rot = depth = draw = cmap = x_depth = grayscale = max_colors = mask = shape_dither = destination_alpha = 0;
|
|
||||||
disp = NULL; vis = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue