jpeg pushed a commit to branch master.

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

commit fb812c13b37a348d885f99738611b6021e5b28a1
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Tue Apr 21 18:44:41 2015 +0900

    Evas render2: Fix clang warnings
    
    More unused functions. Kept around for later debugging.
---
 src/lib/evas/canvas/evas_object_main.c     |  2 +-
 src/lib/evas/canvas/render2/evas_render2.c | 16 ++++------------
 2 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_main.c 
b/src/lib/evas/canvas/evas_object_main.c
index d25a460..5f0db50 100644
--- a/src/lib/evas/canvas/evas_object_main.c
+++ b/src/lib/evas/canvas/evas_object_main.c
@@ -37,7 +37,7 @@ static const Evas_Object_Filter_Data default_filter = {
 };
 const void * const evas_object_filter_cow_default = &default_filter;
 static const Evas_Object_Mask_Data default_mask = {
-  NULL, 0, 0, EINA_FALSE
+  NULL, 0, 0, EINA_FALSE, EINA_FALSE, EINA_FALSE, EINA_FALSE
 };
 
 Eina_Cow *evas_object_proxy_cow = NULL;
diff --git a/src/lib/evas/canvas/render2/evas_render2.c 
b/src/lib/evas/canvas/render2/evas_render2.c
index 04596b9..b4080e4 100644
--- a/src/lib/evas/canvas/render2/evas_render2.c
+++ b/src/lib/evas/canvas/render2/evas_render2.c
@@ -2,7 +2,6 @@
 
 #ifdef EVAS_RENDER_DEBUG_TIMING
 #include <sys/time.h>
-#endif
 
 #ifndef _WIN32
 static inline double
@@ -20,23 +19,16 @@ get_time(void)
 }
 #endif
 
-
-
-
-
-
-
-
-
-// a list of canvases currently rendering
-static Eina_List *_rendering = NULL;
-
 static inline void
 out_time(double t)
 {
    double b = (t * 100.0) / (1.0 / 60.0);
    printf("%1.8fs (%1.2f%% 60fps budget)\n", t, b);
 }
+#endif
+
+// a list of canvases currently rendering
+static Eina_List *_rendering = NULL;
 
 static void
 _always_call(Eo *eo_e, Evas_Callback_Type type, void *event_info)

-- 


Reply via email to