pulse-server: fix warning

The rest of the fields are zeroed later in reply_create_record_stream,
but static analysis doesn't know that.
This commit is contained in:
Pauli Virtanen 2022-07-06 13:46:30 +03:00 committed by Wim Taymans
parent 783fbc507b
commit 167537dffc

View file

@ -1805,7 +1805,7 @@ static int do_create_record_stream(struct client *client, uint32_t command, uint
struct channel_map map;
uint32_t source_index;
const char *source_name;
struct buffer_attr attr;
struct buffer_attr attr = { 0 };
bool corked = false,
no_remap = false,
no_remix = false,