devilhorns pushed a commit to branch master.

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

commit f240a528ddd31fc6f91df040e33ea50107473adc
Author: Christopher Michael <devilho...@comcast.net>
Date:   Tue May 26 14:51:53 2020 -0400

    ecore-evas-wayland: Fix unused variables
    
    Patch 09ab8c9967512e67b7 added code to printf wl client animation
    ticks, however the line that actually does the printing is commented
    out (which is fine) but the variables used in that printf are not
    needed if we are not printing things out
---
 .../ecore_evas/engines/wayland/ecore_evas_wayland_common.c   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c 
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index c52022b333..450f0aa16c 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -41,19 +41,19 @@ _anim_cb_tick(Ecore_Wl2_Window *win EINA_UNUSED, uint32_t 
timestamp, void *data)
 {
    Ecore_Evas *ee = data;
    Ecore_Evas_Engine_Wl_Data *edata;
-   double t, rt;
-   static double pt = 0.0, prt = 0.0;
+   double t;//, rt;
+   /* static double pt = 0.0, prt = 0.0; */
 
    edata = ee->engine.data;
 
    if (!edata->ticking) return;
    t = ((double)timestamp / 1000.0);
    ecore_loop_time_set(t);
-   rt = ecore_time_get();
-//   printf("ECORE_EVAS: wl client anim tick %p | %p - %1.5f @ %1.5f 
delt=%1.5f | %1.5f\n", ee, edata, t, ecore_time_get(), t - pt, rt - prt);
+   /* rt = ecore_time_get(); */
+   /* printf("ECORE_EVAS: wl client anim tick %p | %p - %1.5f @ %1.5f 
delt=%1.5f | %1.5f\n", ee, edata, t, ecore_time_get(), t - pt, rt - prt); */
    ecore_evas_animator_tick(ee, NULL, t);
-   pt = t;
-   prt = rt;
+   /* pt = t; */
+   /* prt = rt; */
 }
 
 static void

-- 


Reply via email to