Commit 8ed59f12 authored by Laszlo Agocs's avatar Laszlo Agocs
Browse files

Silence uninited variable compiler warnings


The code is correct but some compilers may still warn about dragData not
getting initialized. Silence them.

Change-Id: Ib52321667fc5094e22ebbef538b72b5477e6f10b
Reviewed-by: default avatarGiulio Camuffo <giulio.camuffo@jollamobile.com>
Showing with 1 addition and 1 deletion
...@@ -126,7 +126,7 @@ void QWaylandDataDevice::data_device_drop() ...@@ -126,7 +126,7 @@ void QWaylandDataDevice::data_device_drop()
qDebug() << Q_FUNC_INFO << drag << m_dragOffer.data(); qDebug() << Q_FUNC_INFO << drag << m_dragOffer.data();
QMimeData *dragData; QMimeData *dragData = 0;
Qt::DropActions supportedActions; Qt::DropActions supportedActions;
if (drag) { if (drag) {
dragData = drag->mimeData(); dragData = drag->mimeData();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment