mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Fix compiler warning by spelling the initializer properly.
This commit is contained in:
parent
e94adaac24
commit
e26b40a75f
2 changed files with 3 additions and 3 deletions
|
|
@ -126,7 +126,7 @@ PWTEST(context_create)
|
|||
{
|
||||
struct pw_main_loop *loop;
|
||||
struct pw_context *context;
|
||||
struct spa_hook listener = { NULL, };
|
||||
struct spa_hook listener = { { NULL }, };
|
||||
struct pw_context_events context_events = context_events_error;
|
||||
int res;
|
||||
|
||||
|
|
@ -180,7 +180,7 @@ PWTEST(context_properties)
|
|||
struct pw_main_loop *loop;
|
||||
struct pw_context *context;
|
||||
const struct pw_properties *props;
|
||||
struct spa_hook listener = { NULL, };
|
||||
struct spa_hook listener = { { NULL }, };
|
||||
struct pw_context_events context_events = context_events_error;
|
||||
struct spa_dict_item items[3];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue