forked from enlightenment/efl
evas: fix warning and remove useless code.
This commit is contained in:
parent
760279f02e
commit
c52e63ec87
|
@ -324,7 +324,7 @@ eng_output_idle_flush(void *data)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
eng_canvas_alpha_get(void *data, void *context)
|
||||
eng_canvas_alpha_get(void *data EINA_UNUSED, void *context EINA_UNUSED)
|
||||
{
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
@ -368,7 +368,7 @@ module_open(Evas_Module *em)
|
|||
}
|
||||
|
||||
static void
|
||||
module_close(Evas_Module *em)
|
||||
module_close(Evas_Module *em EINA_UNUSED)
|
||||
{
|
||||
eina_log_domain_unregister(_evas_engine_soft_gdi_log_dom);
|
||||
_evas_engine_soft_gdi_log_dom = -1;
|
||||
|
|
|
@ -423,8 +423,6 @@ evas_software_gdi_outbuf_push_updated_region(Outbuf *buf,
|
|||
DATA32 *tmp;
|
||||
int i;
|
||||
int j;
|
||||
int ww;
|
||||
int wh;
|
||||
int dx;
|
||||
int dy;
|
||||
int xmin;
|
||||
|
@ -433,9 +431,6 @@ evas_software_gdi_outbuf_push_updated_region(Outbuf *buf,
|
|||
if (!GetClientRect(buf->priv.gdi.window, &rect))
|
||||
return;
|
||||
|
||||
ww = rect.right - rect.left;
|
||||
wh = rect.bottom - rect.top;
|
||||
|
||||
if (!GetWindowRect(buf->priv.gdi.window, &rect))
|
||||
return;
|
||||
if (!ClientToScreen(buf->priv.gdi.window, &pt))
|
||||
|
|
Loading…
Reference in New Issue