From 9c51b70dd0693f52772fcd64e54ef6e23573df37 Mon Sep 17 00:00:00 2001 From: gxalpha Date: Fri, 28 Jan 2022 23:52:18 +0100 Subject: [PATCH] UI: Fix unused variable warning on non-windows --- UI/window-basic-main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index 009e9913a..00acfa237 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -9977,7 +9977,8 @@ void OBSBasic::SetDisplayAffinity(QWindow *window) } #else -// TODO: Implement for other platforms if possible. Don't forget to -// implement SetDisplayAffinitySupported too! + // TODO: Implement for other platforms if possible. Don't forget to + // implement SetDisplayAffinitySupported too! + UNUSED_PARAMETER(hideFromCapture); #endif }