mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
bluetooth: bluez5: Fix Coverity warning
Use pa_assert_se() to check return value (pro forma) like everywhere else Coverity ID: #154313 Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
This commit is contained in:
parent
bba8c350a5
commit
d911dd48ce
1 changed files with 1 additions and 1 deletions
|
|
@ -1024,7 +1024,7 @@ void pa_bluetooth_discovery_set_ofono_running(pa_bluetooth_discovery *y, bool is
|
|||
|
||||
pa_assert_se(m = dbus_message_new_method_call(BLUEZ_SERVICE, d->path, "org.bluez.Device1", "Disconnect"));
|
||||
dbus_message_set_no_reply(m, true);
|
||||
dbus_connection_send(pa_dbus_connection_get(y->connection), m, NULL);
|
||||
pa_assert_se(dbus_connection_send(pa_dbus_connection_get(y->connection), m, NULL));
|
||||
dbus_message_unref(m);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue