mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
spa: bluez: remove some unused DBusErrors
This commit is contained in:
parent
10f1b6c13c
commit
1025d5c600
1 changed files with 0 additions and 6 deletions
|
|
@ -905,7 +905,6 @@ static int hsphfpd_audio_acquire(void *data, bool optional)
|
||||||
const char *air_codec = HSPHFP_AIR_CODEC_CVSD;
|
const char *air_codec = HSPHFP_AIR_CODEC_CVSD;
|
||||||
const char *agent_codec = HSPHFP_AGENT_CODEC_PCM;
|
const char *agent_codec = HSPHFP_AGENT_CODEC_PCM;
|
||||||
DBusPendingCall *call;
|
DBusPendingCall *call;
|
||||||
DBusError err;
|
|
||||||
|
|
||||||
spa_log_debug(backend->log, "transport %p: Acquire %s",
|
spa_log_debug(backend->log, "transport %p: Acquire %s",
|
||||||
transport, transport->path);
|
transport, transport->path);
|
||||||
|
|
@ -926,8 +925,6 @@ static int hsphfpd_audio_acquire(void *data, bool optional)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
dbus_message_append_args(m, DBUS_TYPE_STRING, &air_codec, DBUS_TYPE_STRING, &agent_codec, DBUS_TYPE_INVALID);
|
dbus_message_append_args(m, DBUS_TYPE_STRING, &air_codec, DBUS_TYPE_STRING, &agent_codec, DBUS_TYPE_INVALID);
|
||||||
|
|
||||||
dbus_error_init(&err);
|
|
||||||
|
|
||||||
dbus_connection_send_with_reply(backend->conn, m, &call, -1);
|
dbus_connection_send_with_reply(backend->conn, m, &call, -1);
|
||||||
dbus_pending_call_set_notify(call, hsphfpd_audio_acquire_reply, transport, NULL);
|
dbus_pending_call_set_notify(call, hsphfpd_audio_acquire_reply, transport, NULL);
|
||||||
dbus_message_unref(m);
|
dbus_message_unref(m);
|
||||||
|
|
@ -1302,9 +1299,6 @@ static DBusHandlerResult hsphfpd_filter_cb(DBusConnection *bus, DBusMessage *m,
|
||||||
{
|
{
|
||||||
const char *sender;
|
const char *sender;
|
||||||
struct impl *backend = user_data;
|
struct impl *backend = user_data;
|
||||||
DBusError err;
|
|
||||||
|
|
||||||
dbus_error_init(&err);
|
|
||||||
|
|
||||||
sender = dbus_message_get_sender(m);
|
sender = dbus_message_get_sender(m);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue