Fix compiler warning by spelling the initializer properly.

This commit is contained in:
Gleb Popov 2021-10-22 19:04:47 +03:00
parent e94adaac24
commit e26b40a75f
2 changed files with 3 additions and 3 deletions

View file

@ -197,7 +197,7 @@ static void test_properties(void)
const struct pw_properties *props;
struct pw_stream *stream;
struct pw_stream_events stream_events = stream_events_error;
struct spa_hook listener = { NULL, };
struct spa_hook listener = { { NULL }, };
struct spa_dict_item items[3];
loop = pw_main_loop_new(NULL);