evas gl - fix structurally dead code

unused var protection in ifdef - use unused macro instead. fixes
CID 1039495
This commit is contained in:
Carsten Haitzler 2014-08-14 20:18:56 +09:00
parent 029c6847d7
commit 111fd9339c
1 changed files with 3 additions and 2 deletions

View File

@ -366,7 +366,7 @@ evgl_eng_native_window_destroy(void *data, void *native_window)
// Theoretically, we wouldn't need this functoin if the surfaceless context
// is supported. But, until then...
static void *
evgl_eng_window_surface_create(void *data, void *native_window)
evgl_eng_window_surface_create(void *data, void *native_window EINA_UNUSED)
{
Render_Engine *re = (Render_Engine *)data;
@ -401,7 +401,8 @@ evgl_eng_window_surface_create(void *data, void *native_window)
return (void *)surface;
*/
return (void*)native_window;
// handled by EINA_UNUSED above
// return (void*)native_window;
#endif
}