From 82126b8ffd15728b00587713965ac2aeea41286f Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Mon, 19 Nov 2012 13:09:53 +0000 Subject: [PATCH] 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 SVN revision: 79445 --- .../evas/engines/software_x11/evas_x_egl.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/modules/evas/engines/software_x11/evas_x_egl.c b/src/modules/evas/engines/software_x11/evas_x_egl.c index 38ded3413e..ef3516e354 100644 --- a/src/modules/evas/engines/software_x11/evas_x_egl.c +++ b/src/modules/evas/engines/software_x11/evas_x_egl.c @@ -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 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; - w = h = rot = depth = draw = cmap = x_depth = grayscale = max_colors = mask = shape_dither = destination_alpha = 0; - disp = NULL; vis = NULL; }