From 2e1806521ec5bdac53b907011534d5ff64e35e99 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 20 Nov 2017 07:51:50 -0500 Subject: [PATCH] elput: Remove unreachable code As we are returning the evdev above, this block is unreachable so remove it. Fixes Coverity CID1382857 @fix Signed-off-by: Chris Michael --- src/lib/elput/elput_evdev.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib/elput/elput_evdev.c b/src/lib/elput/elput_evdev.c index 4943c45f4d..91bbbb2a81 100644 --- a/src/lib/elput/elput_evdev.c +++ b/src/lib/elput/elput_evdev.c @@ -1735,10 +1735,6 @@ _evdev_device_create(Elput_Seat *seat, struct libinput_device *device) } return edev; - - eina_stringshare_del(edev->output_name); - free(edev); - return NULL; } void