浏览代码

UI: Remove unneeded call when removing scene

gxalpha 3 年之前
父节点
当前提交
29b8df97a6
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      UI/window-basic-main.cpp

+ 0 - 2
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;
 	}