libobs: Remove unnecessary null check

This commit is contained in:
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

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;