Fix unused var warning.
authorGuillaume Friloux <guillaume.friloux@gmail.com>
Fri, 30 May 2014 12:24:42 +0000 (14:24 +0200)
committerGuillaume Friloux <guillaume.friloux@gmail.com>
Fri, 30 May 2014 12:24:42 +0000 (14:24 +0200)
src/modules/ecore_evas/engines/x/ecore_evas_x.c

index 0de4dd6..5cea4a3 100644 (file)
@@ -2571,7 +2571,6 @@ _alpha_do(Ecore_Evas *ee, int alpha)
 static void
 _ecore_evas_x_alpha_set(Ecore_Evas *ee, int alpha)
 {
-   Ecore_X_Window_Attributes att;
    Ecore_Evas_Engine_Data_X11 *edata = ee->engine.data;
    char *id = NULL;
 
@@ -2592,6 +2591,7 @@ _ecore_evas_x_alpha_set(Ecore_Evas *ee, int alpha)
    else if (!strcmp(ee->driver, "opengl_x11"))
      {
 #ifdef BUILD_ECORE_EVAS_OPENGL_X11
+        Ecore_X_Window_Attributes att;
         if (ee->alpha == alpha) return;
 
         Evas_Engine_Info_GL_X11 *einfo;