From 43d59448735f676cd31625f14abae05d5339baad Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Wed, 31 May 2023 11:53:42 +0200 Subject: [PATCH] CoPilot: Fix a warning about an unused arg Change-Id: I8b4e552aac0931fea2af4ecc5e70a25c39871fab Reviewed-by: Marcus Tillmanns --- src/plugins/copilot/copilothoverhandler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/copilot/copilothoverhandler.cpp b/src/plugins/copilot/copilothoverhandler.cpp index bf4d3ece104..135cbd8390f 100644 --- a/src/plugins/copilot/copilothoverhandler.cpp +++ b/src/plugins/copilot/copilothoverhandler.cpp @@ -139,6 +139,7 @@ void CopilotHoverHandler::identifyMatch(TextEditorWidget *editorWidget, void CopilotHoverHandler::operateTooltip(TextEditorWidget *editorWidget, const QPoint &point) { + Q_UNUSED(point) auto *suggestion = dynamic_cast(TextDocumentLayout::suggestion(m_block)); if (!suggestion)