gl-drm: Fix build warnings

Summary: Fix unused paramater and parentheses around assignment.

Test Plan: N/A

Reviewers: devilhorns, cedric, stefan_schmidt, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1408
This commit is contained in:
Gwanglim Lee 2014-09-04 09:58:23 +02:00 committed by Stefan Schmidt
parent fb861fc236
commit a797d1a8ef
2 changed files with 2 additions and 2 deletions

View File

@ -522,7 +522,7 @@ eng_outbuf_push_free_region_for_update(Outbuf *ob EINA_UNUSED, RGBA_Image *updat
}
void
eng_outbuf_flush(Outbuf *ob, Tilebuf_Rect *rects, Evas_Render_Mode render_mode)
eng_outbuf_flush(Outbuf *ob, Tilebuf_Rect *rects EINA_UNUSED, Evas_Render_Mode render_mode)
{
if (render_mode == EVAS_RENDER_MODE_ASYNC_INIT) goto end;

View File

@ -551,7 +551,7 @@ eng_info_free(Evas *eo_e EINA_UNUSED, void *in)
{
Evas_Engine_Info_GL_Drm *info;
if (info = (Evas_Engine_Info_GL_Drm *)in)
if ((info = (Evas_Engine_Info_GL_Drm *)in))
free(info);
}