From c517e6cebd9e13f53902628b2352d425ef2f22f8 Mon Sep 17 00:00:00 2001 From: Fushan Wen Date: Wed, 10 Nov 2021 15:42:59 +0800 Subject: [PATCH] xwl: Fix unused warning in xwldrophandler.cpp --- src/xwl/xwldrophandler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xwl/xwldrophandler.cpp b/src/xwl/xwldrophandler.cpp index f42b6d93e9..d831859f98 100644 --- a/src/xwl/xwldrophandler.cpp +++ b/src/xwl/xwldrophandler.cpp @@ -42,6 +42,7 @@ bool XwlDropHandler::handleClientMessage(xcb_client_message_event_t *event) void XwlDropHandler::updateDragTarget(KWaylandServer::SurfaceInterface *surface, quint32 serial) { + Q_UNUSED(serial) auto client = workspace()->findClient([surface](const X11Client *c) {return c->surface() == surface;}); if (m_xvisit && client == m_xvisit->target()) { return;