Fix unused var warning.

This commit is contained in:
Guillaume Friloux 2014-05-30 14:24:42 +02:00
parent 08a70a113f
commit e1c6438007
1 changed files with 1 additions and 1 deletions

View 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;