From e26e23159409ef1c20adbaa7753afa39dba9db3e Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 26 May 2020 14:51:53 -0400 Subject: [PATCH] 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 1109b7b..702fbe2 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 @@ -125,19 +125,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 -- 2.7.4