From 29b8df97a651440bea7ed5219965a0235174eb0d Mon Sep 17 00:00:00 2001 From: gxalpha Date: Mon, 20 Dec 2021 20:14:33 +0100 Subject: [PATCH] UI: Remove unneeded call when removing scene --- UI/window-basic-main.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index 9be0eb79d..0517ae255 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -3799,8 +3799,6 @@ void OBSBasic::RemoveSelectedScene() OBSScene scene = GetCurrentScene(); obs_source_t *source = obs_scene_get_source(scene); - OBSSource curProgramScene = OBSGetStrongRef(programScene); - if (!source || !QueryRemoveSource(source)) { return; }