summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorSubodh Kumar <s7158.kumar@samsung.com>2017-10-16 13:28:08 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-10-16 13:28:10 -0700
commit71f0daa9d17d0f496ba7b26b7692f8bd96b86719 (patch)
tree868019e751d3bfa23a837eb9835bdbb8c1d485b5 /src/lib
parent230810c4c4f03519fd3167244757983b865a94bc (diff)
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>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore_wayland/ecore_wl_dnd.c6
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
769_ecore_wl_dnd_source_cb_target(void *data, struct wl_data_source *source EINA_UNUSED, const char *mime_type EINA_UNUSED) 769_ecore_wl_dnd_source_cb_target(void *data, struct wl_data_source *source EINA_UNUSED, const char *mime_type EINA_UNUSED)
770{ 770{
771 Ecore_Wl_Event_Data_Source_Target *event; 771 Ecore_Wl_Event_Data_Source_Target *event;
772 Ecore_Wl_Input *input;
773 772
774 LOGFN(__FILE__, __LINE__, __FUNCTION__); 773 LOGFN(__FILE__, __LINE__, __FUNCTION__);
775 if (!(input = data)) return; 774 if (!data) return;
776 775
777 if (!(event = calloc(1, sizeof(Ecore_Wl_Event_Data_Source_Target)))) return; 776 if (!(event = calloc(1, sizeof(Ecore_Wl_Event_Data_Source_Target)))) return;
778 777
@@ -800,11 +799,10 @@ static void
800_ecore_wl_dnd_source_cb_send(void *data, struct wl_data_source *source EINA_UNUSED, const char *mime_type, int32_t fd) 799_ecore_wl_dnd_source_cb_send(void *data, struct wl_data_source *source EINA_UNUSED, const char *mime_type, int32_t fd)
801{ 800{
802 Ecore_Wl_Event_Data_Source_Send *event; 801 Ecore_Wl_Event_Data_Source_Send *event;
803 Ecore_Wl_Input *input;
804 802
805 LOGFN(__FILE__, __LINE__, __FUNCTION__); 803 LOGFN(__FILE__, __LINE__, __FUNCTION__);
806 804
807 if (!(input = data)) return; 805 if (!data) return;
808 806
809 if (!(event = calloc(1, sizeof(Ecore_Wl_Event_Data_Source_Send)))) return; 807 if (!(event = calloc(1, sizeof(Ecore_Wl_Event_Data_Source_Send)))) return;
810 808