devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2e1806521ec5bdac53b907011534d5ff64e35e99

commit 2e1806521ec5bdac53b907011534d5ff64e35e99
Author: Chris Michael <[email protected]>
Date:   Mon Nov 20 07:51:50 2017 -0500

    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 <[email protected]>
---
 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

-- 


Reply via email to