mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
intended-roles: properly initialize split state
This commit is contained in:
parent
d965000982
commit
b6d0b0e808
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ struct userdata {
|
|||
static pa_bool_t role_match(pa_proplist *proplist, const char *role) {
|
||||
const char *ir;
|
||||
char *r;
|
||||
const char *state;
|
||||
const char *state = NULL;
|
||||
|
||||
if (!(ir = pa_proplist_gets(proplist, PA_PROP_DEVICE_INTENDED_ROLES)))
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue