mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-30 21:37:53 -04:00
impl-port: remove unused count variable
This commit is contained in:
parent
12ca6f16d2
commit
3b3b896b4f
1 changed files with 0 additions and 3 deletions
|
|
@ -1910,7 +1910,6 @@ int pw_impl_port_recalc_tag(struct pw_impl_port *port)
|
||||||
struct spa_tag_info info;
|
struct spa_tag_info info;
|
||||||
enum spa_direction direction;
|
enum spa_direction direction;
|
||||||
uint8_t buffer[1024];
|
uint8_t buffer[1024];
|
||||||
int count = 0;
|
|
||||||
bool changed;
|
bool changed;
|
||||||
|
|
||||||
if (port->destroying)
|
if (port->destroying)
|
||||||
|
|
@ -1930,7 +1929,6 @@ int pw_impl_port_recalc_tag(struct pw_impl_port *port)
|
||||||
while (spa_tag_parse(tag, &info, &state) == 1)
|
while (spa_tag_parse(tag, &info, &state) == 1)
|
||||||
spa_tag_build_add_info(&b.b, info.info);
|
spa_tag_build_add_info(&b.b, info.info);
|
||||||
}
|
}
|
||||||
count++;
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
spa_list_for_each(l, &port->links, input_link) {
|
spa_list_for_each(l, &port->links, input_link) {
|
||||||
|
|
@ -1941,7 +1939,6 @@ int pw_impl_port_recalc_tag(struct pw_impl_port *port)
|
||||||
while (spa_tag_parse(tag, &info, &state) == 1)
|
while (spa_tag_parse(tag, &info, &state) == 1)
|
||||||
spa_tag_build_add_info(&b.b, info.info);
|
spa_tag_build_add_info(&b.b, info.info);
|
||||||
}
|
}
|
||||||
count++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
param = spa_tag_build_end(&b.b, &f);
|
param = spa_tag_build_end(&b.b, &f);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue