diff options
author | João Paulo Rechi Vita <joao.vita@gmail.com> | 2008-08-21 17:34:27 -0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-09-11 01:12:08 +0300 |
commit | 27bc1ea423c30744b5e1688a190ecacb312d19aa (patch) | |
tree | 3b7a0a56f892ccb96440b45f81ed6b1083efbd59 /src/modules | |
parent | 027940b316e51bda5fe7a8b8d9d4bde925ffb04d (diff) |
Remove unnecessary initialization of getcaps_req->flags
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/module-bt-device.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/module-bt-device.c b/src/modules/module-bt-device.c index 30f8c700..ee783501 100644 --- a/src/modules/module-bt-device.c +++ b/src/modules/module-bt-device.c @@ -185,8 +185,7 @@ static int bt_getcaps(struct userdata *u) { pa_log_error("invalid profile argument: %s", u->profile); 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); if (e < 0) { |