cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=40875064df5ce0e4346e4370c2cf36a78e94764e

commit 40875064df5ce0e4346e4370c2cf36a78e94764e
Author: Cedric BAIL <[email protected]>
Date:   Fri Jun 27 12:30:28 2014 +0200

    evas: fix warning in DDraw backend.
---
 src/modules/evas/engines/software_ddraw/evas_outbuf.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/modules/evas/engines/software_ddraw/evas_outbuf.c 
b/src/modules/evas/engines/software_ddraw/evas_outbuf.c
index 8600e0a..0e121ac 100644
--- a/src/modules/evas/engines/software_ddraw/evas_outbuf.c
+++ b/src/modules/evas/engines/software_ddraw/evas_outbuf.c
@@ -4,8 +4,9 @@
 
 static Eina_List *ddpool = NULL;
 static int ddsize = 0;
-static int ddmemlimit = 10 * 1024 * 1024;
-static int ddcountlimit = 32;
+
+#define ddmemlimit 10 * 1024 * 1024
+#define ddcountlimit 32
 
 static DD_Output_Buffer *
 _find_ddob(int depth, int w, int h, void *data)
@@ -69,7 +70,7 @@ _unfind_ddob(DD_Output_Buffer *ddob)
 }
 
 static void
-_clear_ddob(int sync)
+_clear_ddob(int sync EINA_UNUSED)
 {
    while (ddpool)
      {
@@ -348,8 +349,8 @@ evas_software_ddraw_outbuf_push_updated_region(Outbuf     
*buf,
 }
 
 void
-evas_software_ddraw_outbuf_free_region_for_update(Outbuf     *buf,
-                                                  RGBA_Image *update)
+evas_software_ddraw_outbuf_free_region_for_update(Outbuf     *buf EINA_UNUSED,
+                                                  RGBA_Image *update 
EINA_UNUSED)
 {
    /* no need to do anything - they are cleaned up on flush */
 }

-- 


Reply via email to