libobs: Remove unnecessary null check

master
Richard Stanway 2018-08-11 01:55:49 +02:00
parent 4d38e054e3
commit 750f0f2ea4
No known key found for this signature in database
GPG Key ID: AAC1E5265D71B3FD
1 changed files with 1 additions and 1 deletions

View File

@ -2493,7 +2493,7 @@ obs_sceneitem_t *obs_scene_insert_group(obs_scene_t *scene,
full_lock(scene);
full_lock(sub_scene);
sub_scene->first_item = items ? items[0] : NULL;
sub_scene->first_item = items[0];
for (size_t i = count; i > 0; i--) {
size_t idx = i - 1;