From f78a5426be598e699ff7ca6070436008d2841eb1 Mon Sep 17 00:00:00 2001 From: "Hunter L. Allen" Date: Sat, 30 Jun 2018 15:23:26 -0400 Subject: [PATCH] libobs: Remove unused variable --- libobs/obs-scene.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libobs/obs-scene.c b/libobs/obs-scene.c index 06923c0ab..b5bd9304c 100644 --- a/libobs/obs-scene.c +++ b/libobs/obs-scene.c @@ -2644,11 +2644,6 @@ static void build_current_order_info(obs_scene_t *scene, obs_sceneitem_t *item = scene->first_item; while (item) { - struct obs_sceneitem_order_info info = { - .group = NULL, - .item = item - }; - da_push_back(items, &item); if (item->is_group) { @@ -2659,8 +2654,6 @@ static void build_current_order_info(obs_scene_t *scene, obs_sceneitem_t *sub_item = sub_scene->first_item; while (sub_item) { - info.group = item; - info.item = sub_item; da_push_back(items, &item); sub_item = sub_item->next;