mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-20 00:11:31 +00:00
example: remove unused variable
This commit is contained in:
parent
61276da87e
commit
cbdc024f4c
|
@ -371,7 +371,6 @@ static int sdl_alloc_buffers(struct data *data)
|
|||
static int negotiate_formats(struct data *data)
|
||||
{
|
||||
int res;
|
||||
const struct spa_port_info *info;
|
||||
struct spa_pod *format;
|
||||
uint8_t buffer[256];
|
||||
struct spa_pod_builder b = SPA_POD_BUILDER_INIT(buffer, sizeof(buffer));
|
||||
|
@ -397,9 +396,6 @@ static int negotiate_formats(struct data *data)
|
|||
format)) < 0)
|
||||
return res;
|
||||
|
||||
if ((res = spa_node_port_get_info(data->source, SPA_DIRECTION_OUTPUT, 0, &info)) < 0)
|
||||
return res;
|
||||
|
||||
|
||||
setup_buffers(data);
|
||||
|
||||
|
|
Loading…
Reference in a new issue