diff options
author | Subodh Kumar <s7158.kumar@samsung.com> | 2017-10-16 13:28:08 -0700 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2017-11-07 18:01:41 +0900 |
commit | c5efbda95952579de0ed24400e5636fb8bc16b51 (patch) | |
tree | d9b070b3f05e2b96a58ccc1afcc1041416f79bf8 | |
parent | ea7d87f05f7d65651853b601f9b03ce7a807dca5 (diff) | |
download | efl-c5efbda95952579de0ed24400e5636fb8bc16b51.tar.gz |
ecore_wayland: fix assigned value is never used.
Summary:
Fix assigned value is never used.
@fix
Reviewers: cedric
Subscribers: shilpasingh, jpeg
Differential Revision: https://phab.enlightenment.org/D5283
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r-- | src/lib/ecore_wayland/ecore_wl_dnd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_dnd.c b/src/lib/ecore_wayland/ecore_wl_dnd.c index f40eaf7e68..a7694c1587 100644 --- a/src/lib/ecore_wayland/ecore_wl_dnd.c +++ b/src/lib/ecore_wayland/ecore_wl_dnd.c @@ -769,10 +769,9 @@ static void _ecore_wl_dnd_source_cb_target(void *data, struct wl_data_source *source EINA_UNUSED, const char *mime_type EINA_UNUSED) { Ecore_Wl_Event_Data_Source_Target *event; - Ecore_Wl_Input *input; LOGFN(__FILE__, __LINE__, __FUNCTION__); - if (!(input = data)) return; + if (!data) return; if (!(event = calloc(1, sizeof(Ecore_Wl_Event_Data_Source_Target)))) return; @@ -800,11 +799,10 @@ static void _ecore_wl_dnd_source_cb_send(void *data, struct wl_data_source *source EINA_UNUSED, const char *mime_type, int32_t fd) { Ecore_Wl_Event_Data_Source_Send *event; - Ecore_Wl_Input *input; LOGFN(__FILE__, __LINE__, __FUNCTION__); - if (!(input = data)) return; + if (!data) return; if (!(event = calloc(1, sizeof(Ecore_Wl_Event_Data_Source_Send)))) return; |