summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <devilhorns@comcast.net>2020-05-26 14:51:53 -0400
committerChristopher Michael <devilhorns@comcast.net>2020-05-26 14:51:53 -0400
commitf240a528ddd31fc6f91df040e33ea50107473adc (patch)
treeb914fc1a8c21087a714daf4212c7f0b7f207b1d8
parent6f68a9d892bf07d168ed45ab6d274d2e0937da18 (diff)
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.c12
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)
41{ 41{
42 Ecore_Evas *ee = data; 42 Ecore_Evas *ee = data;
43 Ecore_Evas_Engine_Wl_Data *edata; 43 Ecore_Evas_Engine_Wl_Data *edata;
44 double t, rt; 44 double t;//, rt;
45 static double pt = 0.0, prt = 0.0; 45 /* static double pt = 0.0, prt = 0.0; */
46 46
47 edata = ee->engine.data; 47 edata = ee->engine.data;
48 48
49 if (!edata->ticking) return; 49 if (!edata->ticking) return;
50 t = ((double)timestamp / 1000.0); 50 t = ((double)timestamp / 1000.0);
51 ecore_loop_time_set(t); 51 ecore_loop_time_set(t);
52 rt = ecore_time_get(); 52 /* rt = ecore_time_get(); */
53// 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); 53 /* 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); */
54 ecore_evas_animator_tick(ee, NULL, t); 54 ecore_evas_animator_tick(ee, NULL, t);
55 pt = t; 55 /* pt = t; */
56 prt = rt; 56 /* prt = rt; */
57} 57}
58 58
59static void 59static void