Просмотр исходного кода

UI: Fix unused variable warning on non-windows

gxalpha 3 лет назад
Родитель
Сommit
9c51b70dd0
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      UI/window-basic-main.cpp

+ 3 - 2
UI/window-basic-main.cpp

@@ -9977,7 +9977,8 @@ void OBSBasic::SetDisplayAffinity(QWindow *window)
 	}
 	}
 
 
 #else
 #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
 #endif
 }
 }