mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-06 16:56:00 +00:00
doc: tutorial3: do not return anything from roundtrip()
The return value was constant 0 and it was not used by the caller.
This commit is contained in:
parent
94d405be3b
commit
606e0dcdab
|
@ -20,7 +20,7 @@ static void on_core_done(void *data, uint32_t id, int seq)
|
|||
pw_main_loop_quit(d->loop);
|
||||
}
|
||||
|
||||
static int roundtrip(struct pw_core *core, struct pw_main_loop *loop)
|
||||
static void roundtrip(struct pw_core *core, struct pw_main_loop *loop)
|
||||
{
|
||||
static const struct pw_core_events core_events = {
|
||||
PW_VERSION_CORE_EVENTS,
|
||||
|
@ -38,7 +38,6 @@ static int roundtrip(struct pw_core *core, struct pw_main_loop *loop)
|
|||
pw_main_loop_run(loop);
|
||||
|
||||
spa_hook_remove(&core_listener);
|
||||
return 0;
|
||||
}
|
||||
/* [roundtrip] */
|
||||
|
||||
|
|
Loading…
Reference in a new issue