evas/gl_x11: fix build warning related to the uninitialized value

This commit is contained in:
Jihoon Kim 2016-02-17 17:48:26 +09:00
parent a4270b25a3
commit f6e019565f
1 changed files with 1 additions and 1 deletions

View File

@ -2068,7 +2068,7 @@ _native_bind_cb(void *data EINA_UNUSED, void *image)
if (n->ns_data.evasgl.surface)
{
Eina_Bool is_egl_image = EINA_FALSE;
void *surface;
void *surface = NULL;
if (glsym_evgl_native_surface_buffer_get)
surface = glsym_evgl_native_surface_buffer_get(n->ns_data.evasgl.surface, &is_egl_image);