summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/software_gdi
diff options
context:
space:
mode:
authorCedric BAIL <c.bail@partner.samsung.com>2014-06-27 13:49:59 +0200
committerCedric BAIL <c.bail@partner.samsung.com>2014-06-27 13:49:59 +0200
commitc52e63ec8726ada87f2c371ea235c0dfad87a0f0 (patch)
treece63f565729721e46ba7a0fba56fcb6787df5e52 /src/modules/evas/engines/software_gdi
parent760279f02ee9206bd979ccaffef82b1b5c90e97c (diff)
evas: fix warning and remove useless code.
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/software_gdi/evas_engine.c4
-rw-r--r--src/modules/evas/engines/software_gdi/evas_outbuf.c5
2 files changed, 2 insertions, 7 deletions
diff --git a/src/modules/evas/engines/software_gdi/evas_engine.c b/src/modules/evas/engines/software_gdi/evas_engine.c
index 9ed5851..315da3d 100644
--- a/src/modules/evas/engines/software_gdi/evas_engine.c
+++ b/src/modules/evas/engines/software_gdi/evas_engine.c
@@ -324,7 +324,7 @@ eng_output_idle_flush(void *data)
324} 324}
325 325
326static Eina_Bool 326static Eina_Bool
327eng_canvas_alpha_get(void *data, void *context) 327eng_canvas_alpha_get(void *data EINA_UNUSED, void *context EINA_UNUSED)
328{ 328{
329 return EINA_FALSE; 329 return EINA_FALSE;
330} 330}
@@ -368,7 +368,7 @@ module_open(Evas_Module *em)
368} 368}
369 369
370static void 370static void
371module_close(Evas_Module *em) 371module_close(Evas_Module *em EINA_UNUSED)
372{ 372{
373 eina_log_domain_unregister(_evas_engine_soft_gdi_log_dom); 373 eina_log_domain_unregister(_evas_engine_soft_gdi_log_dom);
374 _evas_engine_soft_gdi_log_dom = -1; 374 _evas_engine_soft_gdi_log_dom = -1;
diff --git a/src/modules/evas/engines/software_gdi/evas_outbuf.c b/src/modules/evas/engines/software_gdi/evas_outbuf.c
index f406256..28a64a3 100644
--- a/src/modules/evas/engines/software_gdi/evas_outbuf.c
+++ b/src/modules/evas/engines/software_gdi/evas_outbuf.c
@@ -423,8 +423,6 @@ evas_software_gdi_outbuf_push_updated_region(Outbuf *buf,
423 DATA32 *tmp; 423 DATA32 *tmp;
424 int i; 424 int i;
425 int j; 425 int j;
426 int ww;
427 int wh;
428 int dx; 426 int dx;
429 int dy; 427 int dy;
430 int xmin; 428 int xmin;
@@ -433,9 +431,6 @@ evas_software_gdi_outbuf_push_updated_region(Outbuf *buf,
433 if (!GetClientRect(buf->priv.gdi.window, &rect)) 431 if (!GetClientRect(buf->priv.gdi.window, &rect))
434 return; 432 return;
435 433
436 ww = rect.right - rect.left;
437 wh = rect.bottom - rect.top;
438
439 if (!GetWindowRect(buf->priv.gdi.window, &rect)) 434 if (!GetWindowRect(buf->priv.gdi.window, &rect))
440 return; 435 return;
441 if (!ClientToScreen(buf->priv.gdi.window, &pt)) 436 if (!ClientToScreen(buf->priv.gdi.window, &pt))