Fix memory sanitizer complaint about uninitialized value

Fixes: QTBUG-86383
Pick-to: 5.15
Change-Id: Ib2bbe5d8e11574456fdc8b5c5fb07f5e41b538b3
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Liang Qi 2020-09-04 18:34:32 +02:00
parent c87b626d70
commit d85bc34b79

View File

@ -1066,7 +1066,7 @@ void QXcbDrag::handleDrop(QPlatformWindow *, const xcb_client_message_event_t *e
setExecutedDropAction(response.acceptedAction());
xcb_client_message_event_t finished;
xcb_client_message_event_t finished = {};
finished.response_type = XCB_CLIENT_MESSAGE;
finished.sequence = 0;
finished.window = xdnd_dragsource;