summaryrefslogtreecommitdiff
path: root/src/lib/elput
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-11-20 07:51:50 -0500
committerChris Michael <cp.michael@samsung.com>2017-11-20 07:51:50 -0500
commit2e1806521ec5bdac53b907011534d5ff64e35e99 (patch)
tree5723e9d3344bfb3ba9b94ed7f23b66608b61fa78 /src/lib/elput
parent4b1952796afbf98967adbc595e04d1bc069fba75 (diff)
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 <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/elput')
-rw-r--r--src/lib/elput/elput_evdev.c4
1 files changed, 0 insertions, 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)
1735 } 1735 }
1736 1736
1737 return edev; 1737 return edev;
1738
1739 eina_stringshare_del(edev->output_name);
1740 free(edev);
1741 return NULL;
1742} 1738}
1743 1739
1744void 1740void