forked from enlightenment/efl
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:
parent
fb861fc236
commit
a797d1a8ef
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue