From 36a7750828217228a47f3a8e2be47d6f11094bde Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Tue, 8 May 2018 13:26:53 -0500 Subject: [PATCH] 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 feb64f6..ddada27 100644 --- a/src/lib/ecore_wl2/Ecore_Wl2.h +++ b/src/lib/ecore_wl2/Ecore_Wl2.h @@ -1624,7 +1624,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 -- 2.7.4