提交 7114f65d 编写于 作者: J jp9000

Fix a few warnings

上级 65455c27
......@@ -23,6 +23,11 @@
extern "C" {
#endif
struct vec2;
struct vec3;
struct vec4;
struct quat;
/*
* OBS data settings storage
*
......
......@@ -230,8 +230,7 @@ static void scene_load(void *scene, obs_data_t settings)
obs_data_array_release(items);
}
static void scene_save_item(struct obs_scene *scene, obs_data_array_t array,
struct obs_scene_item *item)
static void scene_save_item(obs_data_array_t array, struct obs_scene_item *item)
{
obs_data_t item_data = obs_data_create();
const char *name = obs_source_getname(item->source);
......@@ -257,7 +256,7 @@ static void scene_save(void *data, obs_data_t settings)
item = scene->first_item;
while (item) {
scene_save_item(scene, array, item);
scene_save_item(array, item);
item = item->next;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册