mirror of https://github.com/FreeRDP/FreeRDP
Added assert
This commit is contained in:
parent
68b5d47d9a
commit
ceeccd34e8
|
@ -40,7 +40,8 @@ static void data_offer_offer(void* data, struct wl_data_offer* data_offer,
|
|||
{
|
||||
UwacSeat* seat = (UwacSeat*)data;
|
||||
|
||||
if (seat && !seat->ignore_announcement)
|
||||
assert(seat);
|
||||
if (!seat->ignore_announcement)
|
||||
{
|
||||
UwacClipboardEvent* event = (UwacClipboardEvent*)UwacDisplayNewEvent(seat->display,
|
||||
UWAC_EVENT_CLIPBOARD_OFFER);
|
||||
|
|
Loading…
Reference in New Issue