ecore-input-evas: Fix Coverity CID1306803 (logically dead code)
authorChris Michael <cp.michael@samsung.com>
Thu, 18 Jun 2015 14:20:07 +0000 (10:20 -0400)
committerChris Michael <cp.michael@samsung.com>
Thu, 18 Jun 2015 14:20:07 +0000 (10:20 -0400)
commitb35e10760323b3cc933892a1e593d6a50af2f1d4
treefcbcd15b0d1dece097892d375a33368e8679ff55
parent4e6b06dfd75f5a711d9eb61d6432bbaa220c1bfe
ecore-input-evas: Fix Coverity CID1306803 (logically dead code)

Summary: This cleans up the _ecore_event_evas_mouse_button function.
Coverity was reporting that the state tests in the 'if' function could
not be be reached due to eel variable being null. This moves the if
(!eel) check to run before the state tests.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_input_evas/ecore_input_evas.c