derekf pushed a commit to branch master.

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

commit 23d5ee88d5f963d699ee4e66cd9c8786c0cc36c3
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Tue May 8 13:26:53 2018 -0500

    ecore_wl2: warn on unused result from ecore_wl2_input_seat_id_get
    
    Summary:
    Make it harder to misuse this function in the future.
    Depends on D6129
    
    Reviewers: zmike, cedric
    
    Reviewed By: zmike
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D6130
---
 src/lib/ecore_wl2/Ecore_Wl2.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index 1e50d2f56d..bc815f3fa0 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -1348,7 +1348,7 @@ EAPI Ecore_Wl2_Seat_Capabilities 
ecore_wl2_input_seat_capabilities_get(Ecore_Wl2
  * @ingroup Ecore_Wl2_Input_Group
  * @since 1.19
  */
-EAPI unsigned int ecore_wl2_input_seat_id_get(Ecore_Wl2_Input *input);
+EAPI unsigned int ecore_wl2_input_seat_id_get(Ecore_Wl2_Input *input) 
EINA_WARN_UNUSED_RESULT;
 
 /**
  * Get the display object of an input

-- 


Reply via email to