diff options
author | Christopher Michael <devilhorns@comcast.net> | 2020-05-26 14:51:53 -0400 |
---|---|---|
committer | Christopher Michael <devilhorns@comcast.net> | 2020-05-26 14:51:53 -0400 |
commit | f240a528ddd31fc6f91df040e33ea50107473adc (patch) | |
tree | b914fc1a8c21087a714daf4212c7f0b7f207b1d8 | |
parent | 6f68a9d892bf07d168ed45ab6d274d2e0937da18 (diff) | |
download | efl-f240a528ddd31fc6f91df040e33ea50107473adc.tar.gz |
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
-rw-r--r-- | src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 12 |
1 files 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 |