fallback: fix a coverity warning

Value stored to 'rect' during its initialization is never read

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2019-10-24 14:10:47 +10:00
parent 8011d991fe
commit 727a504e0d

View file

@ -1225,7 +1225,7 @@ fallback_interface_update_rect(struct evdev_dispatch *evdev_dispatch,
uint64_t time)
{
struct fallback_dispatch *dispatch = fallback_dispatch(evdev_dispatch);
struct device_coord_rect rect = {0};
struct device_coord_rect rect;
assert(phys_rect);