Skip to content

Commit

Permalink
UI: Fix unused parameter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jpark37 authored and jp9000 committed Jun 11, 2021
1 parent ef2b1eb commit cd5873e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions UI/window-basic-main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cd5873e

Please sign in to comment.