stefan pushed a commit to branch master.

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

commit ba496721fb8f71604af14e5d1719c3b1c4729e89
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Tue Dec 6 10:31:57 2016 +0100

    evas: input_pointer: remove unreachable case statement
    
    Directly in the beginning of the function we check if key is
    <= EFL_INPUT_VALUE_NONE and return if this is true. No chance key could be
    EFL_INPUT_VALUE_NONE below here.
    
    CID: 1361997
---
 src/lib/evas/canvas/efl_input_pointer.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/lib/evas/canvas/efl_input_pointer.c 
b/src/lib/evas/canvas/efl_input_pointer.c
index 397beef..00d1054 100644
--- a/src/lib/evas/canvas/efl_input_pointer.c
+++ b/src/lib/evas/canvas/efl_input_pointer.c
@@ -491,7 +491,6 @@ _efl_input_pointer_value_set(Eo *obj EINA_UNUSED, 
Efl_Input_Pointer_Data *pd, Ef
       case EFL_INPUT_VALUE_SLIDER:
         return EINA_FALSE; // TODO
 
-      case EFL_INPUT_VALUE_NONE:
       default:
         return EINA_FALSE;
      }

-- 


Reply via email to