From cf128d12b1c15187e77825938e7f99fc5ea80a2d Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Mon, 20 May 2024 19:23:27 +0900 Subject: fix coverity issue - unused value Change-Id: I5a3b5cacaa993b86f5381a7e8ad340cf0967c2ab --- src/efl_util.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/efl_util.c b/src/efl_util.c index 4821b39..14a4b7e 100644 --- a/src/efl_util.c +++ b/src/efl_util.c @@ -1472,8 +1472,7 @@ efl_util_input_generate_touch(efl_util_inputgen_h inputgen_h, int idx, EINA_SAFETY_ON_FALSE_RETURN_VAL(inputgen_h->init_type & EFL_UTIL_INPUT_DEVTYPE_TOUCHSCREEN, EFL_UTIL_ERROR_NO_SUCH_DEVICE); if (_eflutil.wl.devmgr.request_touch_count != 0 && - _eflutil.wl.devmgr.max_touch_count != _eflutil.wl.devmgr.request_touch_count && - (ret_dispatch != -1)) + _eflutil.wl.devmgr.max_touch_count != _eflutil.wl.devmgr.request_touch_count) ret_dispatch = wl_display_dispatch_queue(_eflutil.wl.dpy, _eflutil.wl.queue); if (idx >= _eflutil.wl.devmgr.max_touch_count) @@ -1498,7 +1497,6 @@ efl_util_input_generate_touch(efl_util_inputgen_h inputgen_h, int idx, tizen_input_device_manager_generate_touch(_eflutil.wl.devmgr.devicemgr, type, x, y, idx); - ret_dispatch = 0; while ((_eflutil.wl.devmgr.request_notified == -1) && (ret_dispatch != -1)) ret_dispatch = wl_display_dispatch_queue(_eflutil.wl.dpy, _eflutil.wl.queue); -- cgit v1.2.3