e comp wl - remove dead code
listener might maybe be null, but offer - never. fix CID 1403945
This commit is contained in:
parent
1c893b064f
commit
33ef4bc881
|
@ -285,9 +285,9 @@ _e_comp_wl_data_offer_cb_source_destroy(struct wl_listener *listener, void *data
|
||||||
E_Comp_Wl_Data_Offer *offer;
|
E_Comp_Wl_Data_Offer *offer;
|
||||||
|
|
||||||
DBG("Data Offer Source Destroy");
|
DBG("Data Offer Source Destroy");
|
||||||
|
if (!listener) return;
|
||||||
offer = container_of(listener, E_Comp_Wl_Data_Offer,
|
offer = container_of(listener, E_Comp_Wl_Data_Offer,
|
||||||
source_destroy_listener);
|
source_destroy_listener);
|
||||||
if (!offer) return;
|
|
||||||
|
|
||||||
offer->source = NULL;
|
offer->source = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue