From b27150387c050f4ed0fa5ebba35050e5a79cd8c8 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Thu, 25 Mar 2021 17:29:51 +0200 Subject: [PATCH] Fix -Wunused-variable --- src/wayland/seat_interface.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wayland/seat_interface.cpp b/src/wayland/seat_interface.cpp index c5dbdfce26..20dca2f40b 100644 --- a/src/wayland/seat_interface.cpp +++ b/src/wayland/seat_interface.cpp @@ -179,7 +179,6 @@ void SeatInterfacePrivate::registerDataDevice(DataDeviceInterface *dataDevice) QObject::connect(dataDevice, &DataDeviceInterface::dragStarted, q, [this, dataDevice] { const auto dragSerial = dataDevice->dragImplicitGrabSerial(); - auto *dragSurface = dataDevice->origin(); if (q->hasImplicitPointerGrab(dragSerial)) { drag.mode = Drag::Mode::Pointer; drag.transformation = globalPointer.focus.transformation;