mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
Remove unnecessary initialization of getcaps_req->flags
This commit is contained in:
parent
027940b316
commit
27bc1ea423
1 changed files with 1 additions and 2 deletions
|
|
@ -185,8 +185,7 @@ static int bt_getcaps(struct userdata *u) {
|
||||||
pa_log_error("invalid profile argument: %s", u->profile);
|
pa_log_error("invalid profile argument: %s", u->profile);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
getcaps_req->flags = 0;
|
getcaps_req->flags = BT_FLAG_AUTOCONNECT;
|
||||||
getcaps_req->flags |= BT_FLAG_AUTOCONNECT;
|
|
||||||
|
|
||||||
e = bt_audioservice_send(u->audioservice_fd, &getcaps_req->h);
|
e = bt_audioservice_send(u->audioservice_fd, &getcaps_req->h);
|
||||||
if (e < 0) {
|
if (e < 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue