doc: tutorial3: do not spa_zero() the hook objects

`spa_hook_list_append()` zeroes the hooks when they
are inserted into the list of hooks.
This commit is contained in:
Barnabás Pőcze 2022-07-21 00:19:23 +02:00 committed by Wim Taymans
parent bb0cda3d94
commit f61bb3aef5
2 changed files with 1 additions and 3 deletions

View file

@ -16,7 +16,7 @@ Let's take a look at what this method does.
\code{.c}
struct spa_hook core_listener;
spa_zero(core_listener);
pw_core_add_listener(core, &core_listener,
&core_events, NULL);
\endcode