Evas render2: Fix clang warnings
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 21 Apr 2015 09:44:41 +0000 (18:44 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 21 Apr 2015 11:11:01 +0000 (20:11 +0900)
More unused functions. Kept around for later debugging.

src/lib/evas/canvas/evas_object_main.c
src/lib/evas/canvas/render2/evas_render2.c

index d25a460..5f0db50 100644 (file)
@@ -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;
index 04596b9..b4080e4 100644 (file)
@@ -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)