0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00

UI: Fix unused parameter warning

This commit is contained in:
jpark37 2021-06-11 02:07:32 -07:00 committed by Jim
parent ef2b1eb1c6
commit cd5873e9bc

View File

@ -3680,6 +3680,8 @@ void OBSBasic::DuplicateSelectedScene()
static bool save_undo_source_enum(obs_scene_t *scene, obs_sceneitem_t *item,
void *p)
{
UNUSED_PARAMETER(scene);
obs_source_t *source = obs_sceneitem_get_source(item);
if (obs_obj_is_private(source) && !obs_source_removed(source))
return true;